From e5cadc38859cd255f30e86d5cc27e2106ab13f6c Mon Sep 17 00:00:00 2001 From: abs Date: Wed, 11 Jun 2003 20:50:50 +0000 Subject: 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. --- print/ghostscript-esp/Makefile.common | 7 ++++--- print/ghostscript-gnu/Makefile.common | 7 ++++--- print/ghostscript-nox11/Makefile.common | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) (limited to 'print') diff --git a/print/ghostscript-esp/Makefile.common b/print/ghostscript-esp/Makefile.common index 78ce49f8e46..aa2cd65a117 100644 --- a/print/ghostscript-esp/Makefile.common +++ b/print/ghostscript-esp/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2003/05/28 03:28:05 jlam Exp $ +# $NetBSD: Makefile.common,v 1.6 2003/06/11 20:50:58 abs Exp $ DISTNAME= espgs-${GS_VERS}-source BASEGS_VERS= 7.05 @@ -92,6 +92,7 @@ post-install: .include "../../mk/autoconf.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 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 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 -- cgit v1.2.3