Changes between Version 62 and Version 63 of PortfileRecipes


Ignore:
Timestamp:
Jun 9, 2013, 1:03:38 PM (11 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

deactivate hack: add the pre-activate block, rename variable to a more generic name

Legend:

Unmodified
Added
Removed
Modified
  • PortfileRecipes

    v62 v63  
    478478
    479479{{{#!tcl
    480 # both kerberos5 and e2fsprogs previously conflicted because they installed files now provided by libcomerr
    481 if {![catch {set installed [lindex [registry_active kerberos5] 0]}]} {
    482     set krb_version [lindex $installed 1]
    483     if {[vercmp $krb_version 1.11] < 0} {
    484         # kerberos5 used to install some files now provided by libcomerr in versions < 1.11
    485         registry_deactivate_composite kerberos5 "" [list ports_nodepcheck 1]
     480pre-activate {
     481    # both kerberos5 and e2fsprogs previously conflicted because they installed files now provided by libcomerr
     482    if {![catch {set installed [lindex [registry_active kerberos5] 0]}]} {
     483        set _version [lindex $installed 1]
     484        if {[vercmp $_version 1.11] < 0} {
     485            # kerberos5 used to install some files now provided by libcomerr in versions < 1.11
     486            registry_deactivate_composite kerberos5 "" [list ports_nodepcheck 1]
     487        }
    486488    }
    487 }
    488489}}}
    489490