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. --- databases/cdb/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'databases/cdb') diff --git a/databases/cdb/Makefile b/databases/cdb/Makefile index 24097ec236b..c4cd1945cde 100644 --- a/databases/cdb/Makefile +++ b/databases/cdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2002/07/22 00:13:13 schmonz Exp $ +# $NetBSD: Makefile,v 1.6 2003/06/11 20:50:51 abs Exp $ DISTNAME= cdb-0.75 CATEGORIES= databases @@ -11,10 +11,9 @@ COMMENT= creates and reads constant databases ALL_TARGET= it INSTALL_TARGET= setup check -.if (${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "arm") -.if (${CFLAGS:M-O2} == "-O2") -CFLAGS:= ${CFLAGS:S/-O2/-O0/} -.endif +.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" +USE_GCC3=YES +. include "../../mk/gcc.buildlink2.mk" .endif pre-build: -- cgit v1.2.3