=================================================================== RCS file: /cvs/ports/games/ufoai/base/Attic/Makefile,v retrieving revision 1.6 retrieving revision 1.8 diff -u -r1.6 -r1.8 --- ports/games/ufoai/base/Attic/Makefile 2011/05/05 21:06:32 1.6 +++ ports/games/ufoai/base/Attic/Makefile 2011/05/12 22:21:49 1.8 @@ -1,5 +1,7 @@ -# $OpenBSD: Makefile,v 1.6 2011/05/05 21:06:32 yason Exp $ +# $OpenBSD: Makefile,v 1.8 2011/05/12 22:21:49 yason Exp $ +SHARED_ONLY = Yes + COMMENT-main = squad-based tactical strategy game COMMENT-editor = UFO:AI map editor @@ -28,7 +30,10 @@ MODULES = devel/gettext -RUN_DEPENDS = games/ufoai/data \ +BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \ + ${MODGNU_AUTOMAKE_DEPENDS} + +RUN_DEPENDS = games/ufoai/data>=${V} \ devel/desktop-file-utils LIB_DEPENDS-main = devel/sdl-image \ @@ -49,19 +54,24 @@ x11/gtksourceview USE_GMAKE = Yes -MAKE_FLAGS += CFLAGS='-DHAVE_CONFIG_H -Wall -pipe -ansi' \ - ${CONFIGURE_ENV} +MAKE_FLAGS += ${CONFIGURE_ENV} + +CFLAGS += -pthread + AUTOCONF_VERSION = 2.67 AUTOMAKE_VERSION = 1.9 -CONFIGURE_STYLE = autoconf automake +CONFIGURE_STYLE = gnu CONFIGURE_ARGS = --enable-release=yes \ --enable-ufo2map \ --enable-uforadiant \ --disable-tests -CONFIGURE_ENV += CFLAGS="-pthread" \ - CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -I${LOCALBASE}/include/libpng" \ +CONFIGURE_ENV += CFLAGS="${CFLAGS}" \ + CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \ + -I${LOCALBASE}/include/libpng" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv" + +NO_REGRESS = Yes ALL_TARGET = all uforadiant INSTALL_TARGET = install_exec