diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-10 18:20:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-10 18:20:06 +0000 |
commit | 5d087d895968b60b7d644125adcc8f329f7d5371 (patch) | |
tree | acd5ab3ed46d538af8b4150088e0dd94d148c0ac /emulators/snes9x | |
parent | 7ed371e73446a3c82c82676b83ea8296f0f13fe1 (diff) | |
download | pkgsrc-5d087d895968b60b7d644125adcc8f329f7d5371.tar.gz |
Slightly different solution to previous:
just ignore mmx pkg_option if set on non-i386.
Diffstat (limited to 'emulators/snes9x')
-rw-r--r-- | emulators/snes9x/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile index 2d8e229869b..22bed2c942f 100644 --- a/emulators/snes9x/Makefile +++ b/emulators/snes9x/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2005/06/10 18:09:45 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2005/06/10 18:20:06 wiz Exp $ DISTNAME= s9xs139 PKGNAME= snes9x-1.39 @@ -29,19 +29,17 @@ 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" - -.if ${MACHINE_ARCH} == "i386" PKG_OPTIONS_VAR= PKG_OPTIONS.snes9x PKG_SUPPORTED_OPTIONS= mmx .include "../../mk/bsd.options.mk" -.endif + +.include "../../mk/bsd.prefs.mk" MAKE_ENV+= THREAD_SOUND=1 -.if ( ${MACHINE_ARCH} == "i386" ) +.if ${MACHINE_ARCH} == "i386" MAKE_ENV+= USING_I386=1 -.if ( ${OBJECT_FMT} == "a.out" ) +.if ${OBJECT_FMT} == "a.out" MAKE_ENV+= FILEFORMAT=aoutb MAKE_ENV+= _ASM_UNDERBARS=1 .else |