[113526] trunk/dports/python/py-graph-tool/Portfile
mmoll at macports.org
mmoll at macports.org
Mon Nov 18 19:18:45 PST 2013
Revision: 113526
https://trac.macports.org/changeset/113526
Author: mmoll at macports.org
Date: 2013-11-18 19:18:45 -0800 (Mon, 18 Nov 2013)
Log Message:
-----------
py-graph-tool: force libc++ for clang
Modified Paths:
--------------
trunk/dports/python/py-graph-tool/Portfile
Modified: trunk/dports/python/py-graph-tool/Portfile
===================================================================
--- trunk/dports/python/py-graph-tool/Portfile 2013-11-19 02:48:52 UTC (rev 113525)
+++ trunk/dports/python/py-graph-tool/Portfile 2013-11-19 03:18:45 UTC (rev 113526)
@@ -62,6 +62,9 @@
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}]} {
+ configure.cxxflags-append -stdlib=libc++
+ }
# Clang uses the old libstc++ from gcc 4.2 before OS X 10.9. Boost doesn't
# include some of the tr1 headers in libstdc++ and defines its own tr1
# classes. This causes conflicts with sparsehash which insists on using
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131118/6ef2675b/attachment.html>
More information about the macports-changes
mailing list