Wed Jan 11 22:41:46 2012 UTC ()
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.


(tron)
diff -r1.42 -r1.43 pkgsrc/net/libtorrent/Makefile
diff -r1.46 -r1.47 pkgsrc/net/rtorrent/Makefile

cvs diff -r1.42 -r1.43 pkgsrc/net/libtorrent/Makefile (expand / switch to context diff)
--- pkgsrc/net/libtorrent/Makefile 2011/11/07 13:10:31 1.42
+++ pkgsrc/net/libtorrent/Makefile 2012/01/11 22:41:46 1.43
@@ -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 @@
 .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

cvs diff -r1.46 -r1.47 pkgsrc/net/rtorrent/Makefile (expand / switch to context diff)
--- pkgsrc/net/rtorrent/Makefile 2011/11/07 13:10:31 1.46
+++ pkgsrc/net/rtorrent/Makefile 2012/01/11 22:41:46 1.47
@@ -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 @@
 .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