Revision: 100303 https://trac.macports.org/changeset/100303 Author: adfernandes@macports.org Date: 2012-12-07 13:51:18 -0800 (Fri, 07 Dec 2012) Log Message: ----------- devel/boost: support custom sdkroot configs (#33085) Modified Paths: -------------- trunk/dports/devel/boost/Portfile Modified: trunk/dports/devel/boost/Portfile =================================================================== --- trunk/dports/devel/boost/Portfile 2012-12-07 21:46:00 UTC (rev 100302) +++ trunk/dports/devel/boost/Portfile 2012-12-07 21:51:18 UTC (rev 100303) @@ -79,7 +79,11 @@ reinplace -E "s|-install_name \"|&${prefix}/lib/|" \ ${worksrcpath}/tools/build/v2/tools/darwin.jam - write_jam "using darwin : : ${configure.cxx} ;" + if {[string length ${configure.sdkroot}] == 0} { + write_jam "using darwin : : ${configure.cxx} : : ;" + } else { + write_jam "using darwin : : ${configure.cxx} : <compileflags>\"-isysroot ${configure.sdkroot}\" : ;" + } }
participants (1)
-
adfernandes@macports.org