Ticket #45637: ld64-leopard.patch

File ld64-leopard.patch, 502 bytes (added by larryv (Lawrence Velázquez), 10 years ago)
  • dports/devel/ld64/Portfile

    diff --git a/dports/devel/ld64/Portfile b/dports/devel/ld64/Portfile
    index c26adc4..56d53fc 100644
    a b post-patch { 
    182182    }
    183183}
    184184
     185if {${os.major} < 10} {
     186    # Allow build to find libunwind-headers' contents (#45637).
     187    set sdk ${prefix}/Developer/SDKs/Darwin${os.major}.sdk
     188    configure.cppflags-append -I${sdk}/usr/include
     189}
     190
    185191configure {
    186192    system "cd ${worksrcpath} && ${build.cmd} src/ld/configure.h"
    187193}