[110690] trunk/dports/devel/boost/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Sep 3 16:17:41 PDT 2013
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}\" : ;"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130903/bffbc6f6/attachment.html>
More information about the macports-changes
mailing list