=================================================================== RCS file: /cvs/ports/games/ufoai/Attic/Makefile,v retrieving revision 1.4 retrieving revision 1.7 diff -u -r1.4 -r1.7 --- ports/games/ufoai/Attic/Makefile 2009/06/19 09:20:22 1.4 +++ ports/games/ufoai/Attic/Makefile 2009/10/30 21:35:56 1.7 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2009/06/19 08:20:22 yason Exp $ +# $OpenBSD: Makefile,v 1.7 2009/10/30 21:35:56 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,20 @@ 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_GMAKE = Yes CONFIGURE_STYLE = gnu -CONFIGURE_ARGS += --enable-release=yes +CONFIGURE_ARGS += --enable-release=yes \ + --with-shaders CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv -pthread" + +.if ${MACHINE_ARCH} == "i386" +CONFIGURE_ARGS += --enable-mmx=yes +CONFIGURE_ENV += CFLAGS=-msse +.endif post-build: cd ${WRKSRC} && gmake lang