[27045] trunk/dports/security/cyrus-sasl2/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jul 16 11:42:35 PDT 2007
Revision: 27045
http://trac.macosforge.org/projects/macports/changeset/27045
Author: jmpp at macports.org
Date: 2007-07-16 11:42:34 -0700 (Mon, 16 Jul 2007)
Log Message:
-----------
Commit patch contributed by Ryan in #12279 to tempoarily fix archival issue of packages that list two
variant names in a single code block. Closes #12279.
NOTE: Consider this only a temporary, Portfile specific fix, the real bug in MacPorts' base should be
sought and fixed seperately. Tracked in #ticket 12306. As for this particular Portfile, Ryan's fix is
also a better approach 'cause 'darwin' and 'freebsd' shouldn't be listed as variants but platforms rather,
whereas 'kerberos' is a valid variant name.
Modified Paths:
--------------
trunk/dports/security/cyrus-sasl2/Portfile
Modified: trunk/dports/security/cyrus-sasl2/Portfile
===================================================================
--- trunk/dports/security/cyrus-sasl2/Portfile 2007-07-16 18:06:55 UTC (rev 27044)
+++ trunk/dports/security/cyrus-sasl2/Portfile 2007-07-16 18:42:34 UTC (rev 27045)
@@ -20,8 +20,8 @@
master_sites http://ftp.andrew.cmu.edu/pub/cyrus-mail/
distname cyrus-sasl-${version}
checksums md5 dde02db234dea892bee298390890502e \
- sha1 6449f730c963d29d43600a95373a6e2db52d6d66
-# rmd160 93e0e1868453c5781602b5cce23e746b8823a26b
+ sha1 6449f730c963d29d43600a95373a6e2db52d6d66 \
+ rmd160 93e0e1868453c5781602b5cce23e746b8823a26b
depends_lib port:openssl \
lib:libz:zlib
@@ -71,14 +71,17 @@
${destroot}${prefix}/var/pwcheck
}
-variant kerberos darwin {
- configure.args-append --enable-gssapi --with-gss_impl=mit
+platform darwin {}
+platform freebsd {}
+variant kerberos {
+ if {[variant_isset darwin]} {
+ configure.args-append --enable-gssapi --with-gss_impl=mit
+ }
+ if {[variant_isset freebsd]} {
+ configure.args-append --enable-gssapi --with-gss_impl=heimdal
+ }
}
-variant kerberos freebsd {
- configure.args-append --enable-gssapi --with-gss_impl=heimdal
-}
-
variant sql { configure.args-append --enable-sql }
variant static { configure.args-append --enable-static }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070716/4fc737c4/attachment.html
More information about the macports-changes
mailing list