Changeset 52668


Ignore:
Timestamp:
Jun 20, 2009, 11:49:38 PM (11 years ago)
Author:
toby@…
Message:

use os.platform instead of empty variants

File:
1 edited

Legend:

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

    r52293 r52668  
    8585}
    8686
    87 platform darwin {}
    88 platform freebsd {}
    8987variant kerberos description "Enable Kerberos support (default)" {
    9088    configure.args-append   --enable-gssapi \
    9189                            --enable-keep-db-open
    9290
    93         if {[variant_isset darwin]} {
     91        if {${os.platform} == "darwin"} {
    9492                configure.args-append --with-gss_impl=mit
    9593        }
    96         if {[variant_isset freebsd]} {
     94        if {${os.platform} == "freebsd"} {
    9795                configure.args-append --with-gss_impl=heimdal
    9896        }
Note: See TracChangeset for help on using the changeset viewer.