Ignore:
Timestamp:
Jun 6, 2009, 8:57:40 AM (10 years ago)
Author:
toby@…
Message:

protect against universal_sysroot removal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/lprof/Portfile

    r51857 r51911  
    3636                    -DCMAKE_INSTALL_PREFIX=${prefix} \
    3737                    -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \
    38                     -DCMAKE_C_FLAGS_RELEASE="-isysroot ${universal_sysroot}" \
    39                     -DCMAKE_CXX_FLAGS_RELEASE="-isysroot ${universal_sysroot}" \
    40                     -DCMAKE_LD_FLAGS="-Wl,-syslibroot,${universal_sysroot}" \
    4138                    -DCMAKE_INCLUDE_PATH=${prefix}/include \
    4239                    -DCMAKE_LIBRARY_PATH=${prefix}/lib \
     
    4441                    -DQTTRANS_LRELEASE_EXECUTABLE=${prefix}/bin/lrelease-mac \
    4542                    -Wno-dev .
     43
     44if {[info exists universal_sysroot]} {
     45    configure.args-append \
     46                    -DCMAKE_C_FLAGS_RELEASE="-isysroot ${universal_sysroot}" \
     47                    -DCMAKE_CXX_FLAGS_RELEASE="-isysroot ${universal_sysroot}" \
     48                    -DCMAKE_LD_FLAGS="-Wl,-syslibroot,${universal_sysroot}"
     49}
    4650
    4751post-destroot {
Note: See TracChangeset for help on using the changeset viewer.