diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-08-27 05:33:04 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-08-27 05:33:04 +0800 |
commit | a5a79ac00790296a538bb962ddfad032e882e7bb (patch) | |
tree | b4e995461a6b39e3783c9cf2b814e2f6a9f3a9e9 /games/openbor | |
parent | f367d9b383b69f0dfe3e6321bde6bcfd854741de (diff) | |
download | freebsd-ports-gnome-a5a79ac00790296a538bb962ddfad032e882e7bb.tar.gz freebsd-ports-gnome-a5a79ac00790296a538bb962ddfad032e882e7bb.tar.zst freebsd-ports-gnome-a5a79ac00790296a538bb962ddfad032e882e7bb.zip |
games/openbor: convert MMX into an option
Diffstat (limited to 'games/openbor')
-rw-r--r-- | games/openbor/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/games/openbor/Makefile b/games/openbor/Makefile index ce4c7a08be8c..26b258366ab7 100644 --- a/games/openbor/Makefile +++ b/games/openbor/Makefile @@ -23,7 +23,7 @@ MAKE_ENV= BUILD_LINUX=1 SDKPATH="${LOCALBASE}" \ 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= |