summaryrefslogtreecommitdiff
path: root/emulators/stella
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2003-06-11 20:50:50 +0000
committerabs <abs@pkgsrc.org>2003-06-11 20:50:50 +0000
commitfb6c29f8bf248017425abf6954a2caa089d0837e (patch)
tree6a86cf46283ab7df1fa150aa748fadd6e63fae25 /emulators/stella
parent1b25878212f67c0e574c294d53c684bd9caa2b7c (diff)
downloadpkgsrc-fb6c29f8bf248017425abf6954a2caa089d0837e.tar.gz
Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of: - Change MACHINE_ARCH == arm32 to also match arm - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3 The last may shake out a few more broken packages the next bulk build.
Diffstat (limited to 'emulators/stella')
-rw-r--r--emulators/stella/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/emulators/stella/Makefile b/emulators/stella/Makefile
index 6d2afe0226d..9f3d0102d23 100644
--- a/emulators/stella/Makefile
+++ b/emulators/stella/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/06/02 01:19:55 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2003/06/11 20:50:53 abs Exp $
DISTNAME= stella-1.1-src
PKGNAME= stella-1.1
@@ -15,10 +15,8 @@ USE_X11= yes
MAKEFILE= makefile
ALL_TARGET= unix-x
-.if (${MACHINE_ARCH} == arm32 || ${MACHINE_ARCH} == arm)
-.if (${CXXFLAGS:M-O2} == "-O2")
-CXXFLAGS:= ${CXXFLAGS:S/-O2/-O0/}
-.endif
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
+. include "../../mk/gcc.buildlink2.mk"
.endif
MAKE_ENV= CXXFLAGS="${CXXFLAGS} -fno-rtti"