summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authortron <tron>2012-01-11 22:41:46 +0000
committertron <tron>2012-01-11 22:41:46 +0000
commit366cad76aa7582d385433062b04a730eefaeab7c (patch)
tree2caf90a082073b2cb3081e6fdd8bf1d4a08d298c /net/libtorrent
parentd3410f21b35ae7b0ea961d79beb2e2ad228137f9 (diff)
downloadpkgsrc-366cad76aa7582d385433062b04a730eefaeab7c.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/libtorrent')
-rw-r--r--net/libtorrent/Makefile5
1 files changed, 3 insertions, 2 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