[121878] trunk/dports/security/cyrus-sasl2/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jul 10 00:21:05 PDT 2014


Revision: 121878
          https://trac.macports.org/changeset/121878
Author:   ryandesign at macports.org
Date:     2014-07-10 00:21:05 -0700 (Thu, 10 Jul 2014)
Log 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)

Modified Paths:
--------------
    trunk/dports/security/cyrus-sasl2/Portfile

Modified: trunk/dports/security/cyrus-sasl2/Portfile
===================================================================
--- trunk/dports/security/cyrus-sasl2/Portfile	2014-07-10 06:04:32 UTC (rev 121877)
+++ trunk/dports/security/cyrus-sasl2/Portfile	2014-07-10 07:21:05 UTC (rev 121878)
@@ -6,7 +6,7 @@
 
 name                    cyrus-sasl2
 version                 2.1.26
-revision                3
+revision                4
 categories              security net
 platforms               darwin
 # license is BSD plus a fourth (almost redundant) acknowledgement clause
@@ -48,6 +48,7 @@
                         --with-plugindir=${prefix}/lib/sasl2 \
                         --with-saslauthd=${prefix}/var/state/saslauthd \
                         --with-pwcheck=${prefix}/var/pwcheck \
+                        --disable-gssapi \
                         --disable-macos-framework \
                         --enable-srp \
                         --enable-srp-setpass \
@@ -96,13 +97,13 @@
     
     if {${os.platform} eq "darwin"} {
         depends_lib-append  port:kerberos5
-        configure.args-append --with-gss_impl=mit \
-            --enable-gssapi=${prefix}
+        configure.args-replace  --disable-gssapi --enable-gssapi=${prefix}
+        configure.args-append   --with-gss_impl=mit
     }
     if {${os.platform} eq "freebsd"} {
         depends_lib-append  port:heimdal
-        configure.args-append --with-gss_impl=heimdal \
-            --enable-gssapi=${prefix}/libexec/heimdal
+        configure.args-replace  --disable-gssapi --enable-gssapi=${prefix}
+        configure.args-append   --with-gss_impl=heimdal
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140710/e9af0ecc/attachment.html>


More information about the macports-changes mailing list