[52668] trunk/dports/security/cyrus-sasl2/Portfile
toby at macports.org
toby at macports.org
Sat Jun 20 16:49:39 PDT 2009
Revision: 52668
http://trac.macports.org/changeset/52668
Author: toby at macports.org
Date: 2009-06-20 16:49:38 -0700 (Sat, 20 Jun 2009)
Log Message:
-----------
use os.platform instead of empty variants
Modified Paths:
--------------
trunk/dports/security/cyrus-sasl2/Portfile
Modified: trunk/dports/security/cyrus-sasl2/Portfile
===================================================================
--- trunk/dports/security/cyrus-sasl2/Portfile 2009-06-20 23:35:06 UTC (rev 52667)
+++ trunk/dports/security/cyrus-sasl2/Portfile 2009-06-20 23:49:38 UTC (rev 52668)
@@ -84,16 +84,14 @@
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
}
-platform darwin {}
-platform freebsd {}
variant kerberos description "Enable Kerberos support (default)" {
configure.args-append --enable-gssapi \
--enable-keep-db-open
- if {[variant_isset darwin]} {
+ if {${os.platform} == "darwin"} {
configure.args-append --with-gss_impl=mit
}
- if {[variant_isset freebsd]} {
+ if {${os.platform} == "freebsd"} {
configure.args-append --with-gss_impl=heimdal
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090620/2de4c1b0/attachment.html>
More information about the macports-changes
mailing list