Ignore:
Timestamp:
Nov 17, 2010, 2:05:11 PM (9 years ago)
Author:
michaelld@…
Message:

lprof: Add missing dependency; fix use of sysroot; skip arch check on cmake.

File:
1 edited

Legend:

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

    r73523 r73549  
    2626cvs.module          lprof
    2727
    28 depends_lib-append  port:libusb-compat port:libpng port:tiff port:zlib
     28depends_lib-append  port:libusb-compat port:libpng port:tiff \
     29                    port:zlib port:qt-assistant
    2930depends_build-append port:cmake
     31depends_skip_archcheck cmake
    3032
    3133worksrcdir          lprof
     
    4850                    -Wno-dev .
    4951
    50 if {[info exists universal_sysroot]} {
     52if {${configure.sdkroot} != ""} {
    5153    configure.args-append \
    52                     -DCMAKE_C_FLAGS_RELEASE="-isysroot ${universal_sysroot}" \
    53                     -DCMAKE_CXX_FLAGS_RELEASE="-isysroot ${universal_sysroot}" \
    54                     -DCMAKE_LD_FLAGS="-Wl,-syslibroot,${universal_sysroot}"
     54        -DCMAKE_C_FLAGS_RELEASE="-isysroot ${configure.sdkroot}" \
     55        -DCMAKE_CXX_FLAGS_RELEASE="-isysroot ${configure.sdkroot}" \
     56        -DCMAKE_LD_FLAGS="-Wl,-syslibroot,${configure.sdkroot}"
    5557}
    5658
Note: See TracChangeset for help on using the changeset viewer.