Ticket #36781: patch-Portfile.diff

File patch-Portfile.diff, 1.1 KB (added by lpsinger (Leo Singer), 12 years ago)

proposed patch for cyrus-sasl2

  • Portfile

    old new  
    66
    77name                    cyrus-sasl2
    88version                 2.1.25
    9 revision                3
     9revision                4
    1010categories              security net
    1111platforms               darwin
    1212# license is BSD plus a fourth (almost redundant) acknowledgement clause
     
    9797
    9898variant kerberos description "Enable Kerberos support" {
    9999    configure.args-append   --enable-keep-db-open
     100    configure.args-append   --enable-gssapi=${prefix}
    100101   
    101     if {${os.platform} == "darwin"} {
     102    if {${os.platform} == "darwin" && ${os.major} < 11} {
    102103        depends_lib-append  port:kerberos5
    103         configure.args-append --with-gss_impl=mit \
    104             --enable-gssapi=${prefix}
    105     }
    106     if {${os.platform} == "freebsd"} {
     104        configure.args-append --with-gss_impl=mit
     105    } else {
    107106        depends_lib-append  port:heimdal
    108         configure.args-append --with-gss_impl=heimdal \
    109             --enable-gssapi=${prefix}/libexec/heimdal
     107        configure.args-append --with-gss_impl=heimdal
    110108    }
    111109}
    112110