Changeset 104236


Ignore:
Timestamp:
Mar 21, 2013, 6:27:05 PM (7 years ago)
Author:
adfernandes@…
Message:

devel/boost: disable context library for 10.6 and earlier (#38339)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/boost/Portfile

    r103909 r104236  
    8383}
    8484
     85if {${os.platform} == "darwin" && ${os.major} <= 10} {
     86    configure.args-append   --without-libraries=context
     87}
     88
    8589configure.universal_args
    8690
     
    9094        ${worksrcpath}/tools/build/v2/tools/darwin.jam
    9195
    92     if {[string length ${configure.sdkroot}] == 0} {
    93         write_jam "using darwin : : ${configure.cxx} : : ;"
    94     } else {
    95         write_jam "using darwin : : ${configure.cxx} : <compileflags>\"-isysroot ${configure.sdkroot}\" : ;"
    96     }
     96    set compileflags ""
     97    if {[string length ${configure.sdkroot}] != 0} { set compileflags "<compileflags>\"-isysroot ${configure.sdkroot}\"" }
     98
     99    write_jam "using darwin : : ${configure.cxx} : <cxxflags>\"${configure.cxxflags}\" ${compileflags} <linkflags>\"${configure.ldflags}\" : ;"
    97100
    98101}
Note: See TracChangeset for help on using the changeset viewer.