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

adfernandes at macports.org adfernandes at macports.org
Thu Mar 21 11:27:05 PDT 2013


Revision: 104236
          https://trac.macports.org/changeset/104236
Author:   adfernandes at macports.org
Date:     2013-03-21 11:27:05 -0700 (Thu, 21 Mar 2013)
Log Message:
-----------
devel/boost: disable context library for 10.6 and earlier (#38339)

Modified Paths:
--------------
    trunk/dports/devel/boost/Portfile

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2013-03-21 18:02:06 UTC (rev 104235)
+++ trunk/dports/devel/boost/Portfile	2013-03-21 18:27:05 UTC (rev 104236)
@@ -82,6 +82,10 @@
     configure.args-append   --without-libraries=context
 }
 
+if {${os.platform} == "darwin" && ${os.major} <= 10} {
+    configure.args-append   --without-libraries=context
+}
+
 configure.universal_args
 
 post-configure {
@@ -89,12 +93,11 @@
     reinplace -E "s|-install_name \"|&${prefix}/lib/|" \
         ${worksrcpath}/tools/build/v2/tools/darwin.jam
 
-    if {[string length ${configure.sdkroot}] == 0} {
-        write_jam "using darwin : : ${configure.cxx} : : ;"
-    } else {
-        write_jam "using darwin : : ${configure.cxx} : <compileflags>\"-isysroot ${configure.sdkroot}\" : ;"
-    }
+    set compileflags ""
+    if {[string length ${configure.sdkroot}] != 0} { set compileflags "<compileflags>\"-isysroot ${configure.sdkroot}\"" }
 
+    write_jam "using darwin : : ${configure.cxx} : <cxxflags>\"${configure.cxxflags}\" ${compileflags} <linkflags>\"${configure.ldflags}\" : ;"
+
 }
 
 # Although bjam can supposedly use parallel builds, it has random failures. See #28878 and #23531.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130321/a84e511a/attachment.html>


More information about the macports-changes mailing list