summaryrefslogtreecommitdiff
path: root/net/rtorrent
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
commit10f263c77f3bb3ca2236d61b1eeb72569e14a868 (patch)
tree2caf90a082073b2cb3081e6fdd8bf1d4a08d298c /net/rtorrent
parent3043a6c5da075820e92e19ab3e995d1e92da4646 (diff)
downloadpkgsrc-10f263c77f3bb3ca2236d61b1eeb72569e14a868.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/rtorrent')
-rw-r--r--net/rtorrent/Makefile5
1 files changed, 3 insertions, 2 deletions
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