From 22eeda20c25af0af6566d79c1694a5f1295c115d Mon Sep 17 00:00:00 2001 From: kristerw Date: Sat, 28 Dec 2002 17:18:01 +0000 Subject: 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. --- emulators/snes9x/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emulators') 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 -- cgit v1.2.3