summaryrefslogtreecommitdiff
path: root/net/ucspi-tcp
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/ucspi-tcp
parent6e27a9ecf40f5980a4f912d454feccee06c2b23e (diff)
downloadpkgsrc-893911ebb547ad0b4447fe2cd29cbca8a5e4b7cf.tar.gz
Move hack to avoid gcc optimizer bug on arm platforms into hacks.mk.
Diffstat (limited to 'net/ucspi-tcp')
-rw-r--r--net/ucspi-tcp/Makefile6
-rw-r--r--net/ucspi-tcp/hacks.mk9
2 files changed, 10 insertions, 5 deletions
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