diff options
Diffstat (limited to 'emulators/snes9x')
-rw-r--r-- | emulators/snes9x/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile index d9356155faf..219325d0d42 100644 --- a/emulators/snes9x/Makefile +++ b/emulators/snes9x/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2005/06/01 18:02:48 jlam Exp $ +# $NetBSD: Makefile,v 1.25 2005/06/01 20:13:08 wiz Exp $ DISTNAME= s9xs139 PKGNAME= snes9x-1.39 @@ -29,8 +29,16 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/README.TXT ${PREFIX}/share/doc/snes9x ${INSTALL_MAN} ${WRKSRC}/TODO.TXT ${PREFIX}/share/doc/snes9x +PKG_OPTIONS_VAR= PKG_OPTIONS.snes9x + .include "../../mk/bsd.prefs.mk" +.if ${MACHINE_ARCH} == "i386" +PKG_SUPPORTED_OPTIONS= mmx +.endif + +.include "../../mk/bsd.options.mk" + MAKE_ENV+= THREAD_SOUND=1 .if ( ${MACHINE_ARCH} == "i386" ) MAKE_ENV+= USING_I386=1 @@ -43,10 +51,9 @@ MAKE_ENV+= FILEFORMAT=elf MAKE_ENV+= ZSNESFX=1 MAKE_ENV+= ZSNESC4=1 MAKE_ENV+= ASMCPU=1 -.if !empty(USE_MMX:M[Yy][Ee][Ss]) +.if !empty(PKG_OPTIONS:Mmmx) MAKE_ENV+= ASMKREED=1 .endif -BUILD_DEFS+= USE_MMX .endif .if exists(${X11BASE}/lib/libXxf86dga.a) |