summaryrefslogtreecommitdiff
path: root/net
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 /net
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 'net')
-rw-r--r--net/djbdns/Makefile9
-rw-r--r--net/ucspi-tcp/Makefile9
2 files changed, 8 insertions, 10 deletions
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile
index 85d60cf2f99..0255f5f030d 100644
--- a/net/djbdns/Makefile
+++ b/net/djbdns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2003/03/29 21:55:19 salo Exp $
+# $NetBSD: Makefile,v 1.23 2003/06/11 20:50:57 abs Exp $
# FreeBSD Id: ports/net/djbdns/Makefile,v 1.4 2000/09/28 18:18:41 nbm Exp
#
@@ -37,10 +37,9 @@ INSTALL_TARGET= setup check
MANVERSION= 20021211
-.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
post-extract:
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile
index 8daa78ce86a..e8cd1fa29c1 100644
--- a/net/ucspi-tcp/Makefile
+++ b/net/ucspi-tcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/12/16 12:42:58 cjep Exp $
+# $NetBSD: Makefile,v 1.13 2003/06/11 20:50:57 abs Exp $
# FreeBSD Id: ports/sysutils/ucspi-tcp/Makefile,v 1.12 2000/07/10 01:41:24 steve Exp
DISTNAME= ucspi-tcp-0.88
@@ -20,10 +20,9 @@ NO_BIN_ON_FTP= ${RESTRICTED}
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
post-configure: