summaryrefslogtreecommitdiff
path: root/emulators/snes9x
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2002-12-28 17:18:01 +0000
committerkristerw <kristerw@pkgsrc.org>2002-12-28 17:18:01 +0000
commit4a2eba7ebfc61e1be61b0115e760a7a5b80500da (patch)
treec0aba03f7a61b7ab35e79a95217a473ce5493245 /emulators/snes9x
parente7c52c4ac8bc5f8e79a64128f5c456bb5f8a804c (diff)
downloadpkgsrc-4a2eba7ebfc61e1be61b0115e760a7a5b80500da.tar.gz
Change the USE_MMX test to check for != "NO" instead of == "YES" to
be consistent with the other USE_MMX-using packages. Add USE_MMX to BUILD_DEFS.
Diffstat (limited to 'emulators/snes9x')
-rw-r--r--emulators/snes9x/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index eadeea23f74..e82cc065a57 100644
--- a/emulators/snes9x/Makefile
+++ b/emulators/snes9x/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/10/13 12:09:13 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2002/12/28 17:18:01 kristerw Exp $
DISTNAME= s9xs139
PKGNAME= snes9x-1.39
@@ -45,9 +45,10 @@ MAKE_ENV+= FILEFORMAT=elf
MAKE_ENV+= ZSNESFX=1
MAKE_ENV+= ZSNESC4=1
MAKE_ENV+= ASMCPU=1
-.if defined(USE_MMX) && ${USE_MMX} == "YES"
+.if ${USE_MMX} != "NO"
MAKE_ENV+= ASMKREED=1
.endif
+BUILD_DEFS+= USE_MMX
.endif
.endif