[100303] trunk/dports/devel/boost/Portfile

adfernandes at macports.org adfernandes at macports.org
Fri Dec 7 13:51:18 PST 2012


Revision: 100303
          https://trac.macports.org/changeset/100303
Author:   adfernandes at 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}\" : ;"
+    }
 
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121207/2a63cd83/attachment.html>


More information about the macports-changes mailing list