summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-11-12 00:25:54 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-11-12 00:25:54 +0000
commit2cebd89f2b9f6133f40fb79ad7fa1be6b8107778 (patch)
treefa752bfa3525d62f1fa96f96827905e966e794ff /emulators
parent9cc45ab8b20502b3d6e0257bd66b00901dd1d7ca (diff)
downloadpkgsrc-2cebd89f2b9f6133f40fb79ad7fa1be6b8107778.tar.gz
reduce optimization level on sparc to allow this to build
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmame/Makefile4
-rw-r--r--emulators/xmess/Makefile6
2 files changed, 5 insertions, 5 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 655a1cffb8d..1971adc99a6 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2002/09/21 12:53:48 jlam Exp $
+# $NetBSD: Makefile,v 1.79 2002/11/12 00:25:54 dmcmahill Exp $
#
DISTNAME= xmame-0.60.1
@@ -24,7 +24,7 @@ UNLIMIT_RESOURCES= datasize
.include "../../mk/bsd.prefs.mk"
-.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm")
+.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "sparc")
. if (${CFLAGS:M-O2} == "-O2")
CFLAGS:= ${CFLAGS:S/-O2/-O0/}
. endif
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index d4e09f27b6d..4088bee90d5 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2002/09/21 13:12:26 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2002/11/12 00:29:57 dmcmahill Exp $
#
DISTNAME= xmame-0.56.2
@@ -24,8 +24,8 @@ 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")
+# 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