summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorschmonz <schmonz>2005-08-24 04:36:14 +0000
committerschmonz <schmonz>2005-08-24 04:36:14 +0000
commit893911ebb547ad0b4447fe2cd29cbca8a5e4b7cf (patch)
tree01777a6181f3a9d38b58a0e55feb0404189aea11 /net
parent6e27a9ecf40f5980a4f912d454feccee06c2b23e (diff)
downloadpkgsrc-893911ebb547ad0b4447fe2cd29cbca8a5e4b7cf.tar.gz
Move hack to avoid gcc optimizer bug on arm platforms into hacks.mk.
Diffstat (limited to 'net')
-rw-r--r--net/djbdns/Makefile6
-rw-r--r--net/djbdns/hacks.mk9
-rw-r--r--net/ucspi-tcp/Makefile6
-rw-r--r--net/ucspi-tcp/hacks.mk9
4 files changed, 20 insertions, 10 deletions
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile
index 85026ab4b2b..33b387c98eb 100644
--- a/net/djbdns/Makefile
+++ b/net/djbdns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2005/08/19 18:12:38 jlam Exp $
+# $NetBSD: Makefile,v 1.50 2005/08/24 04:36:14 schmonz Exp $
DISTNAME= djbdns-1.05
PKGREVISION= 7
@@ -27,10 +27,6 @@ MAKE_DIRS+= ${PKG_SYSCONFDIR}
CONF_FILES+= ${EGDIR}/dnsroots.global ${PKG_SYSCONFDIR}/dnsroots.global
PLIST_SRC= ${PKGDIR}/PLIST
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
-GCC_REQD+= 3.0
-.endif
-
INSTALLATION_DIRS= bin man man/man1 man/man5 man/man8 share/examples/djbdns
post-install:
diff --git a/net/djbdns/hacks.mk b/net/djbdns/hacks.mk
new file mode 100644
index 00000000000..7ae3b129c9a
--- /dev/null
+++ b/net/djbdns/hacks.mk
@@ -0,0 +1,9 @@
+# $NetBSD: hacks.mk,v 1.1 2005/08/24 04:36:14 schmonz Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+# Avoid gcc optimizer bug on arm platforms
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
+PKG_HACKS+= djbware-XXX-foo
+GCC_REQD+= 3.0
+.endif
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile
index 87b396ab427..adc55bc7ac1 100644
--- a/net/ucspi-tcp/Makefile
+++ b/net/ucspi-tcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2005/08/19 03:55:00 schmonz Exp $
+# $NetBSD: Makefile,v 1.29 2005/08/24 04:36:14 schmonz Exp $
DISTNAME= ucspi-tcp-0.88
PKGREVISION= 1
@@ -17,10 +17,6 @@ DJB_RESTRICTED= YES
PKG_INSTALLATION_TYPES= overwrite pkgviews
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
-GCC_REQD+= 3.0
-.endif
-
INSTALLATION_DIRS= bin man man/man1
post-install:
diff --git a/net/ucspi-tcp/hacks.mk b/net/ucspi-tcp/hacks.mk
new file mode 100644
index 00000000000..7ae3b129c9a
--- /dev/null
+++ b/net/ucspi-tcp/hacks.mk
@@ -0,0 +1,9 @@
+# $NetBSD: hacks.mk,v 1.1 2005/08/24 04:36:14 schmonz Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+# Avoid gcc optimizer bug on arm platforms
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
+PKG_HACKS+= djbware-XXX-foo
+GCC_REQD+= 3.0
+.endif