Date: Wed, 26 Aug 2015 21:33:05 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395401 - head/games/openbor Message-ID: <201508262133.t7QLX5RJ067351@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Aug 26 21:33:04 2015 New Revision: 395401 URL: https://svnweb.freebsd.org/changeset/ports/395401 Log: games/openbor: convert MMX into an option Modified: head/games/openbor/Makefile (contents, props changed) Modified: head/games/openbor/Makefile ============================================================================== --- head/games/openbor/Makefile Wed Aug 26 21:04:34 2015 (r395400) +++ head/games/openbor/Makefile Wed Aug 26 21:33:04 2015 (r395401) @@ -23,7 +23,7 @@ MAKE_ENV= BUILD_LINUX=1 SDKPATH="${LOCAL GCC_TARGET="${CONFIGURE_TARGET:S/amd64/x86_64/}" MAKE_ARGS= CC="${CC}" LIBRARIES="${LOCALBASE}/lib" \ TARGET_ARCH=${ARCH:S/i386/x86/} ARCHFLAGS="" \ - TARGET_FINAL='$(TARGET)' + TARGET_FINAL='$(TARGET)' BUILD_MMX="" LDFLAGS+= -Wl,--as-needed PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.png @@ -36,13 +36,11 @@ DESKTOP_ENTRIES="OpenBOR" \ "Game;ArcadeGame;" \ "" -.include <bsd.port.options.mk> +OPTIONS_DEFINE_i386= MMX +OPTIONS_DEFAULT_i386= MMX # runtime detection -.if ${ARCH} == i386 -BUILD_DEPENDS+= yasm:${PORTSDIR}/devel/yasm -.else -MAKE_ARGS+= BUILD_MMX="" -.endif +MMX_BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm +MMX_MAKE_ARGS= BUILD_MMX=1 # # To update snapshot: make makesum BOOTSTRAP=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508262133.t7QLX5RJ067351>