summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2002-11-12 10:59:05 +0000
committeragc <agc>2002-11-12 10:59:05 +0000
commit53eaf3d55d948754e065decd9bed907a6f7969e5 (patch)
treedef81275e685343a8f128d055b7ed1c630b8da16
parent7adbda82adba494c6768f020b197b82108ed6ad0 (diff)
downloadpkgsrc-53eaf3d55d948754e065decd9bed907a6f7969e5.tar.gz
Pullup the change between rev 1.78 and 1.79 of
pkgsrc/emulators/xmame/Makefile to the netbsd-1-6 pkgsrc branch. Requested by Dan Mcmahill. This reduces the optimization level on sparc to allow compilation there.
-rw-r--r--emulators/xmame/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index b73c8b6ebcf..141de718b85 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2002/06/25 09:21:35 cjep Exp $
+# $NetBSD: Makefile,v 1.77.6.1 2002/11/12 10:59:05 agc Exp $
#
DISTNAME= xmame-0.60.1
@@ -23,10 +23,10 @@ UNLIMIT_RESOURCES= datasize
.include "../../mk/bsd.prefs.mk"
-.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm")
-.if (${CFLAGS:M-O2} == "-O2")
+.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "sparc")
+. if (${CFLAGS:M-O2} == "-O2")
CFLAGS:= ${CFLAGS:S/-O2/-O0/}
-.endif
+. endif
.endif
ROMPATH= ${PREFIX}/share/${TARGET}