[85243] trunk/dports/net/libtorrent-devel/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 11 20:46:02 PDT 2011


Revision: 85243
          http://trac.macports.org/changeset/85243
Author:   jmr at macports.org
Date:     2011-10-11 20:46:02 -0700 (Tue, 11 Oct 2011)
Log Message:
-----------
libtorrent-devel: use gcc 4.2 instead of 4.0 (see #27289)

Modified Paths:
--------------
    trunk/dports/net/libtorrent-devel/Portfile

Modified: trunk/dports/net/libtorrent-devel/Portfile
===================================================================
--- trunk/dports/net/libtorrent-devel/Portfile	2011-10-12 03:38:57 UTC (rev 85242)
+++ trunk/dports/net/libtorrent-devel/Portfile	2011-10-12 03:46:02 UTC (rev 85243)
@@ -47,6 +47,13 @@
 
 if {${os.platform} == "darwin" && ${os.major} <= 9} {
     patchfiles-append   no_posix_memalign.patch
+    configure.compiler  gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        depends_build-append port:apple-gcc42
+        configure.compiler   apple-gcc-4.2
+        # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
+        configure.cxx        ${prefix}/bin/g++-apple-4.2
+    }
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111011/48a94b2c/attachment.html>


More information about the macports-changes mailing list