pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/snes9x Wrap complete options part in ifdef i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c41309e1a83e
branches:  trunk
changeset: 495466:c41309e1a83e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jun 10 18:09:45 2005 +0000

description:
Wrap complete options part in ifdef i386,
since there is only one option and that only on i386.
Fixes bulk build problem.

diffstat:

 emulators/snes9x/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 0faead4b8cbf -r c41309e1a83e emulators/snes9x/Makefile
--- a/emulators/snes9x/Makefile Fri Jun 10 17:04:19 2005 +0000
+++ b/emulators/snes9x/Makefile Fri Jun 10 18:09:45 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2005/06/01 20:13:08 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2005/06/10 18:09:45 wiz Exp $
 
 DISTNAME=              s9xs139
 PKGNAME=               snes9x-1.39
@@ -29,15 +29,14 @@
        ${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_OPTIONS_VAR=       PKG_OPTIONS.snes9x
 PKG_SUPPORTED_OPTIONS= mmx
-.endif
 
 .include "../../mk/bsd.options.mk"
+.endif
 
 MAKE_ENV+=     THREAD_SOUND=1
 .if ( ${MACHINE_ARCH} == "i386" )



Home | Main Index | Thread Index | Old Index