From 956fd61e55e24020ed3346272a5e54dda93abf0f Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 11 Jan 2012 22:41:46 +0000 Subject: 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. --- net/libtorrent/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'net/libtorrent') 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 -- cgit v1.2.3