98 | | depends_lib-append port:kerberos5 |
99 | | configure.args-append --with-gss_impl=mit \ |
100 | | --enable-gssapi=${prefix} |
101 | | } |
102 | | if {${os.platform} eq "freebsd"} { |
| 98 | if {${os.major} < 11} { |
| 99 | depends_lib-append port:kerberos5 |
| 100 | configure.args-append --with-gss_impl=mit \ |
| 101 | --enable-gssapi=${prefix} |
| 102 | } else { |
| 103 | # Link against system libs; |
| 104 | # Even though darwin > 11 uses heimdal, it's still detected as mit by cyrus; |
| 105 | # Libraries in /usr/lib follow mit naming conventions: |
| 106 | # /usr/lib/libkrb5.dylib -> /System/Library/Frameworks/Kerberos.framework/Kerberos |
| 107 | # /usr/lib/libgssapi_krb5.dylib -> /System/Library/Frameworks/Kerberos.framework/Kerberos |
| 108 | configure.args-append --with-gss_impl=mit \ |
| 109 | --enable-gssapi=/usr |
| 110 | } |
| 111 | } elseif {${os.platform} eq "freebsd"} { |