[119268] trunk/dports/python/py-graph-tool/Portfile

mmoll at macports.org mmoll at macports.org
Mon Apr 21 14:46:20 PDT 2014


Revision: 119268
          https://trac.macports.org/changeset/119268
Author:   mmoll at macports.org
Date:     2014-04-21 14:46:20 -0700 (Mon, 21 Apr 2014)
Log Message:
-----------
py-graph-tool: downgrade port to older version on OS X 10.8 and below. Closes #43086

Modified Paths:
--------------
    trunk/dports/python/py-graph-tool/Portfile

Modified: trunk/dports/python/py-graph-tool/Portfile
===================================================================
--- trunk/dports/python/py-graph-tool/Portfile	2014-04-21 21:09:18 UTC (rev 119267)
+++ trunk/dports/python/py-graph-tool/Portfile	2014-04-21 21:46:20 UTC (rev 119268)
@@ -9,6 +9,7 @@
 set realname        graph-tool
 name                py-${realname}
 version             2.2.31
+epoch               20140421
 categories          python science
 platforms           darwin
 license             GPL-3
@@ -26,6 +27,14 @@
                     rmd160  23f52640ab4dfaea1d5b6432a1b5c8293deedbc5
 distname            ${realname}-${version}
 
+if {[string match *clang* ${configure.cxx}] &&
+    ${os.major} <= 12 && ${os.platform} eq "darwin"} {
+    version         2.2.26
+    checksums       md5     317b29de0d3ef715fdc9281e078cfb17 \
+                    sha1    108be4cf6212eb6886f172ea03813187f73e4c3c \
+                    rmd160  cd2e8506522821750d70a97b951254f0a133d218
+}
+
 python.versions     26 27 32 33 34
 python.default_version 27
 
@@ -44,7 +53,6 @@
                        port:py${python.version}-gobject3 \
                        port:py${python.version}-cairo
     use_configure      yes
-    configure.cmd      ./configure
     # parallel build starts swapping, even on a MacBook Pro with 8GB of RAM.
     use_parallel_build no
 
@@ -62,7 +70,8 @@
     configure.ldflags-append -L${prefix}/lib
     configure.args-append --with-boost=${prefix} --exec-prefix=${python.prefix}
     configure.cxxflags-append -std=c++11
-    if {[string match *clang* ${configure.compiler}]} {
+    if {[string match *clang* ${configure.compiler}] &&
+        ${os.major} >= 13 && ${os.platform} eq "darwin"} {
         configure.cxxflags-append -stdlib=libc++
     }
     # Clang uses the old libstc++ from gcc 4.2 before OS X 10.9. Boost doesn't
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140421/6da25104/attachment.html>


More information about the macports-changes mailing list