summaryrefslogtreecommitdiff
path: root/print/ghostscript-nox11/Makefile.common
diff options
context:
space:
mode:
authorabs <abs>2003-06-11 20:50:50 +0000
committerabs <abs>2003-06-11 20:50:50 +0000
commit8321344c07e13af3280130d79f1e4e472360a5f2 (patch)
tree6a86cf46283ab7df1fa150aa748fadd6e63fae25 /print/ghostscript-nox11/Makefile.common
parent2e00eb07111ee038041c3c31d7684a089e291dcc (diff)
downloadpkgsrc-8321344c07e13af3280130d79f1e4e472360a5f2.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-nox11/Makefile.common')
-rw-r--r--print/ghostscript-nox11/Makefile.common8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/ghostscript-nox11/Makefile.common b/print/ghostscript-nox11/Makefile.common
index 89e1e405656..c1df704bf16 100644
--- a/print/ghostscript-nox11/Makefile.common
+++ b/print/ghostscript-nox11/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.45 2003/06/02 14:05:07 abs Exp $
+# $NetBSD: Makefile.common,v 1.46 2003/06/11 20:50:58 abs Exp $
DISTNAME= ghostscript-${GS_VERS}
GS_VERS= 6.01
@@ -300,7 +300,7 @@ post-install:
.include "../../print/ja-vflib-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
-# arm32 compiler has an optimizer problem
-.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm32"
-CFLAGS+= -O0
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
+USE_GCC3=YES
+. include "../../mk/gcc.buildlink2.mk"
.endif