Ticket #38355: Portfile.diff

File Portfile.diff, 557 bytes (added by mklein-de (Michael Klein), 11 years ago)

build fix for 10.5.8

  • dports/net/openvpn2/Portfile

    diff --git a/dports/net/openvpn2/Portfile b/dports/net/openvpn2/Portfile
    index 20939c6..4bae7f9 100644
    a b post-destroot { 
    4343    xinstall -m 644 -W ${worksrcpath} AUTHORS ${docdir}
    4444}
    4545
     46if {${os.platform} == "darwin" && ${os.major} <= 9} {
     47    post-patch {
     48        reinplace "s|security/pam_appl.h|pam/pam_appl.h|g" ${worksrcpath}/src/plugins/auth-pam/auth-pam.c
     49    }
     50}
     51
    4652livecheck.url       ${homepage}/download.html
    4753livecheck.regex     openvpn-(\[0-9.\]*).tar.gz