summaryrefslogtreecommitdiff
path: root/emulators/snes9x
diff options
context:
space:
mode:
authorcube <cube>2004-07-12 19:27:05 +0000
committercube <cube>2004-07-12 19:27:05 +0000
commitc7720827545c5c8fa5c9b95fbafd2c759ce519c2 (patch)
tree1bdbb8477f81f6209af6e7a49a96a19f071561e4 /emulators/snes9x
parent7c74cb1086822546bc9a8c73244227a19a18b0c6 (diff)
downloadpkgsrc-c7720827545c5c8fa5c9b95fbafd2c759ce519c2.tar.gz
For USE_MMX users, do the following:
o only include it in the BUILD_DEFS if the current platform is concerned. For now that only includes i386, but we might find amd64 users in the future. o test against [Yy][Ee][Ss], for consistency. Fixes part of PR 26243.
Diffstat (limited to 'emulators/snes9x')
-rw-r--r--emulators/snes9x/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index ba0bc1312c5..9fa2d338efe 100644
--- a/emulators/snes9x/Makefile
+++ b/emulators/snes9x/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/04/11 17:02:59 snj Exp $
+# $NetBSD: Makefile,v 1.20 2004/07/12 19:27:05 cube Exp $
DISTNAME= s9xs139
PKGNAME= snes9x-1.39
@@ -45,7 +45,7 @@ MAKE_ENV+= FILEFORMAT=elf
MAKE_ENV+= ZSNESFX=1
MAKE_ENV+= ZSNESC4=1
MAKE_ENV+= ASMCPU=1
-.if ${USE_MMX} != "NO"
+.if !empty(USE_MMX:M[Yy][Ee][Ss])
MAKE_ENV+= ASMKREED=1
.endif
BUILD_DEFS+= USE_MMX