summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2002-11-12 11:02:20 +0000
committeragc <agc>2002-11-12 11:02:20 +0000
commit21e525117bbf537a6cd663c0569cf68fcb040dc9 (patch)
tree8ca6a7c0d2b90d9ff11c4e957072e9fb77c10691
parent53eaf3d55d948754e065decd9bed907a6f7969e5 (diff)
downloadpkgsrc-21e525117bbf537a6cd663c0569cf68fcb040dc9.tar.gz
Pullup the change between rev 1.24 and 1.25 of
pkgsrc/emulators/xmess/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/xmess/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index fbcfeaa523e..b12350b5da6 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2002/06/25 09:21:35 cjep Exp $
+# $NetBSD: Makefile,v 1.23.6.1 2002/11/12 11:02:20 agc Exp $
#
DISTNAME= xmame-0.56.2
@@ -23,11 +23,11 @@ UNLIMIT_RESOURCES= datasize
.include "../../mk/bsd.prefs.mk"
-# XXX On arm(32), the src/unix/video_drivers/x11_window.c causes problems
-.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm")
-.if (${CFLAGS:M-O2} == "-O2")
+# XXX On arm(32)/sparc, the src/unix/video_drivers/x11_window.c causes problems
+.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}