summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-11 16:53:18 +0000
committerwiz <wiz@pkgsrc.org>2005-06-11 16:53:18 +0000
commitb26abba03103d46b0377caf81eb029a41cbe12fe (patch)
treee4ab41c64c96a6316bf0fb016faa7dff70703273 /emulators
parentd483ad77f7aea7f8431a3a530e21902727aabce5 (diff)
downloadpkgsrc-b26abba03103d46b0377caf81eb029a41cbe12fe.tar.gz
Now that bsd.options.mk has been changed, only add mmx to PKG_SUPPORTED_OPTIONS on i386.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/snes9x/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index 22bed2c942f..b1e87e304e4 100644
--- a/emulators/snes9x/Makefile
+++ b/emulators/snes9x/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/06/10 18:20:06 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2005/06/11 16:53:18 wiz Exp $
DISTNAME= s9xs139
PKGNAME= snes9x-1.39
@@ -29,13 +29,15 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/README.TXT ${PREFIX}/share/doc/snes9x
${INSTALL_MAN} ${WRKSRC}/TODO.TXT ${PREFIX}/share/doc/snes9x
+.include "../../mk/bsd.prefs.mk"
+
PKG_OPTIONS_VAR= PKG_OPTIONS.snes9x
+.if ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS= mmx
+.endif
.include "../../mk/bsd.options.mk"
-.include "../../mk/bsd.prefs.mk"
-
MAKE_ENV+= THREAD_SOUND=1
.if ${MACHINE_ARCH} == "i386"
MAKE_ENV+= USING_I386=1