pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Move hack to avoid gcc optimizer bug on arm platfo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77f896724fb8
branches:  trunk
changeset: 498491:77f896724fb8
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Aug 24 04:36:14 2005 +0000

description:
Move hack to avoid gcc optimizer bug on arm platforms into hacks.mk.

diffstat:

 net/djbdns/Makefile    |  6 +-----
 net/djbdns/hacks.mk    |  9 +++++++++
 net/ucspi-tcp/Makefile |  6 +-----
 net/ucspi-tcp/hacks.mk |  9 +++++++++
 4 files changed, 20 insertions(+), 10 deletions(-)

diffs (66 lines):

diff -r 84d830111288 -r 77f896724fb8 net/djbdns/Makefile
--- a/net/djbdns/Makefile       Wed Aug 24 04:13:46 2005 +0000
+++ b/net/djbdns/Makefile       Wed Aug 24 04:36:14 2005 +0000
@@ -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 @@
 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 -r 84d830111288 -r 77f896724fb8 net/djbdns/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/djbdns/hacks.mk       Wed Aug 24 04:36:14 2005 +0000
@@ -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 -r 84d830111288 -r 77f896724fb8 net/ucspi-tcp/Makefile
--- a/net/ucspi-tcp/Makefile    Wed Aug 24 04:13:46 2005 +0000
+++ b/net/ucspi-tcp/Makefile    Wed Aug 24 04:36:14 2005 +0000
@@ -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 @@
 
 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 -r 84d830111288 -r 77f896724fb8 net/ucspi-tcp/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-tcp/hacks.mk    Wed Aug 24 04:36:14 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index