diff options
author | kristerw <kristerw> | 2002-12-28 17:18:01 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2002-12-28 17:18:01 +0000 |
commit | 22eeda20c25af0af6566d79c1694a5f1295c115d (patch) | |
tree | c0aba03f7a61b7ab35e79a95217a473ce5493245 /emulators | |
parent | 99dc72f5da7ace70029cdca82cd9534aa3ac8835 (diff) | |
download | pkgsrc-22eeda20c25af0af6566d79c1694a5f1295c115d.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')
-rw-r--r-- | emulators/snes9x/Makefile | 5 |
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 |