On Nov 12, 2013, at 4:43 PM, [email protected] wrote:

> Revision: 113226
>          https://trac.macports.org/changeset/113226
> Author:   [email protected]
> Date:     2013-11-12 13:43:58 -0800 (Tue, 12 Nov 2013)
> Log Message:
> -----------
> py-graph-tool: apparently <tuple> is not part of libstdc++ for clang, so 
> force libc++
> 
> 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-12 21:01:11 UTC 
> (rev 113225)
> +++ trunk/dports/python/py-graph-tool/Portfile        2013-11-12 21:43:58 UTC 
> (rev 113226)
> @@ -68,6 +68,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

What happens when this is built on a 10.6 system, which doesn't have libc++?

vq
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to