=================================================================== RCS file: /cvs/ports/games/ufoai/Attic/Makefile,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ports/games/ufoai/Attic/Makefile 2009/08/17 22:19:29 1.6 +++ ports/games/ufoai/Attic/Makefile 2009/10/30 21:35:56 1.7 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2009/08/17 21:19:29 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 @@ -33,17 +33,17 @@ 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 \ --with-shaders -.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" +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 -CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv -pthread" post-build: cd ${WRKSRC} && gmake lang