[110690] trunk/dports/devel/boost/Portfile
Lawrence Velázquez
larryv at macports.org
Tue Sep 3 18:13:01 PDT 2013
On Sep 3, 2013, at 7:17 PM, jeremyhu at macports.org wrote:
> Revision: 110690
> https://trac.macports.org/changeset/110690
> Author: jeremyhu at macports.org
> Date: 2013-09-03 16:17:41 -0700 (Tue, 03 Sep 2013)
> Log Message:
> -----------
> boost: Fix cxx_stdlib usage
>
> Modified Paths:
> --------------
> trunk/dports/devel/boost/Portfile
>
> Modified: trunk/dports/devel/boost/Portfile
> ===================================================================
> --- trunk/dports/devel/boost/Portfile 2013-09-03 23:12:19 UTC (rev 110689)
> +++ trunk/dports/devel/boost/Portfile 2013-09-03 23:17:41 UTC (rev 110690)
> @@ -92,14 +92,18 @@
> ${worksrcpath}/tools/build/v2/tools/darwin.jam
>
> set compileflags ""
> - if {[string length ${configure.sdkroot}] != 0} { set compileflags "<compileflags>\"-isysroot ${configure.sdkroot}\"" }
> + if {[string length ${configure.sdkroot}] != 0} {
> + set compileflags "<compileflags>\"-isysroot ${configure.sdkroot}\""
> + }
>
> - set linkflags ${configure.ldflags}
> - if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} {
> - lappend linkflags -stdlib=${configure.cxx_stdlib}
> + set cxx_stdlibflags {}
> + if {[info exists configure.cxx_stdlib] &&
> + ${configure.cxx_stdlib} ne {} &&
> + [string match *clang* ${configure.cxx}]} {
> + set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
> }
>
> - write_jam "using darwin : : ${configure.cxx} : <cxxflags>\"${configure.cxxflags}\" ${compileflags} <linkflags>\"${linkflags}\" : ;"
> + write_jam "using darwin : : ${configure.cxx} : <cxxflags>\"${configure.cxxflags} ${cxx_stdlibflags}\" ${compileflags} <linkflags>\"${cxx_stdlibflags}\" : ;"
>
> }
It doesn't look like ${configure.ldflags} are passed to jam via <linkflags> anymore. Is that intentional?
vq
More information about the macports-dev
mailing list