[85240] trunk/dports/net/libtorrent/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 11 20:26:43 PDT 2011


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

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

Modified: trunk/dports/net/libtorrent/Portfile
===================================================================
--- trunk/dports/net/libtorrent/Portfile	2011-10-12 03:21:23 UTC (rev 85239)
+++ trunk/dports/net/libtorrent/Portfile	2011-10-12 03:26:42 UTC (rev 85240)
@@ -42,6 +42,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/b949ca2b/attachment-0001.html>


More information about the macports-changes mailing list