=================================================================== RCS file: /cvs/ports/games/ufoai/Attic/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ports/games/ufoai/Attic/Makefile 2009/07/07 14:28:40 1.5 +++ ports/games/ufoai/Attic/Makefile 2009/08/17 22:19:29 1.6 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2009/07/07 13:28:40 yason Exp $ +# $OpenBSD: Makefile,v 1.6 2009/08/17 21:19:29 yason Exp $ # $FreeBSD: ports/games/ufoai/Makefile,v 1.13 2009/03/20 23:34:24 acm Exp $ COMMENT = squad-based tactical strategy game @@ -30,14 +30,17 @@ jpeg::graphics/jpeg \ png::graphics/png \ curl::net/curl -#RUN_DEPENDS = ufoai-data-${V}::games/ufoai-data +RUN_DEPENDS = :ufoai-data-${V}:games/ufoai-data USE_X11 = Yes +USE_LIBTOOL = Yes USE_GMAKE = Yes CONFIGURE_STYLE = gnu -CONFIGURE_ARGS += --enable-release=yes -.if ${MACHINE_ARCH} == "amd64" +CONFIGURE_ARGS += --enable-release=yes \ + --with-shaders +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS += --enable-mmx=yes +CONFIGURE_ENV += CFLAGS=-msse .endif CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv -pthread"