summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu
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 /print/ghostscript-gnu
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 'print/ghostscript-gnu')
-rw-r--r--print/ghostscript-gnu/Makefile.common7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/ghostscript-gnu/Makefile.common b/print/ghostscript-gnu/Makefile.common
index b60b3e18ec7..fc3005dcf22 100644
--- a/print/ghostscript-gnu/Makefile.common
+++ b/print/ghostscript-gnu/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2003/03/14 19:37:54 jlam Exp $
+# $NetBSD: Makefile.common,v 1.7 2003/06/11 20:50:58 abs Exp $
DISTNAME= ghostscript-${GS_VERS}
GS_VERS= 7.05
@@ -82,6 +82,7 @@ post-install:
.include "../../graphics/png/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
-.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm32"
-CFLAGS+= -O0
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
+USE_GCC3=YES
+. include "../../mk/gcc.buildlink2.mk"
.endif