summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2012-01-11 22:41:46 +0000
committertron <tron@pkgsrc.org>2012-01-11 22:41:46 +0000
commit3b463d221b4a00c041843c140e1577546a7861b8 (patch)
tree2caf90a082073b2cb3081e6fdd8bf1d4a08d298c /net
parent8c849de73f259f4585400240a5854b5df6583ba3 (diff)
downloadpkgsrc-3b463d221b4a00c041843c140e1577546a7861b8.tar.gz
Improve GCC version handling:
1.) Set minimum required GCC version to 4.1.3 because that is what has been tested. Based on the bug-report it also seems that GCC 4.0.1 doesn't work. 2.) GCC 4.1.3 (as distributed with NetBSD 5.*) works fine under NetBSD/macppc as reported by Matthias Kretschmer on IRCnet. So don't insist on GCC 4.2.1 for this platform. This fixes seems to fix the build as the GCC 4.4.6 package doesn't build for this platform.
Diffstat (limited to 'net')
-rw-r--r--net/libtorrent/Makefile5
-rw-r--r--net/rtorrent/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile
index bafcaeab3a0..89b6b7a6033 100644
--- a/net/libtorrent/Makefile
+++ b/net/libtorrent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2011/11/07 13:10:31 hans Exp $
+# $NetBSD: Makefile,v 1.43 2012/01/11 22:41:46 tron Exp $
DISTNAME= libtorrent-0.12.9
CATEGORIES= net
@@ -20,8 +20,9 @@ CONFIGURE_ARGS+= --disable-debug
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "alpha" || \
${MACHINE_ARCH} == "i386" || \
+ ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "x86_64"
-GCC_REQD+= 3.3
+GCC_REQD+= 4.1.3
.else
GCC_REQD+= 4.2.1
.endif
diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile
index e4769089690..b14fbbca433 100644
--- a/net/rtorrent/Makefile
+++ b/net/rtorrent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2011/11/07 13:10:31 hans Exp $
+# $NetBSD: Makefile,v 1.47 2012/01/11 22:41:46 tron Exp $
DISTNAME= rtorrent-0.8.9
PKGREVISION= 2
@@ -21,8 +21,9 @@ GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "alpha" || \
${MACHINE_ARCH} == "i386" || \
+ ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "x86_64"
-GCC_REQD+= 3.3
+GCC_REQD+= 4.1.3
.else
GCC_REQD+= 4.2.1
.endif