Changeset 121878


Ignore:
Timestamp:
Jul 10, 2014, 7:21:05 AM (5 years ago)
Author:
ryandesign@…
Message:

cyrus-sasl2: do not enable the gssapi unless it has been requested via the +kerberos variant (#37218); fixes build failure when the kerberos5 port is not installed (#42657)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/cyrus-sasl2/Portfile

    r114886 r121878  
    77name                    cyrus-sasl2
    88version                 2.1.26
    9 revision                3
     9revision                4
    1010categories              security net
    1111platforms               darwin
     
    4949                        --with-saslauthd=${prefix}/var/state/saslauthd \
    5050                        --with-pwcheck=${prefix}/var/pwcheck \
     51                        --disable-gssapi \
    5152                        --disable-macos-framework \
    5253                        --enable-srp \
     
    9798    if {${os.platform} eq "darwin"} {
    9899        depends_lib-append  port:kerberos5
    99         configure.args-append --with-gss_impl=mit \
    100             --enable-gssapi=${prefix}
     100        configure.args-replace  --disable-gssapi --enable-gssapi=${prefix}
     101        configure.args-append   --with-gss_impl=mit
    101102    }
    102103    if {${os.platform} eq "freebsd"} {
    103104        depends_lib-append  port:heimdal
    104         configure.args-append --with-gss_impl=heimdal \
    105             --enable-gssapi=${prefix}/libexec/heimdal
     105        configure.args-replace  --disable-gssapi --enable-gssapi=${prefix}
     106        configure.args-append   --with-gss_impl=heimdal
    106107    }
    107108}
Note: See TracChangeset for help on using the changeset viewer.