Ticket #43262: Portfile.diff

File Portfile.diff, 694 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 11 years ago)
  • Portfile

     
    66
    77name            gmp
    88version         6.0.0
     9revision        1
    910categories      devel math
    1011license         LGPL-3+
    1112maintainers     mcalhoun openmaintainer
     
    5960    configure.cxx-append -stdlib=${configure.cxx_stdlib}
    6061    configure.cxx_stdlib
    6162}
     63
     64# See #43262
     65if {${configure.sdkroot} ne ""} {
     66    configure.cc-append  "-isysroot ${configure.sdkroot}"
     67    configure.cxx-append "-isysroot ${configure.sdkroot}"
     68    configure.sdkroot
     69}
     70
    6271configure.cc_archflags
    6372configure.cxx_archflags
    6473configure.ld_archflags