Changeset 79385 for trunk/dports/tex


Ignore:
Timestamp:
Jun 12, 2011, 7:59:29 AM (8 years ago)
Author:
jmr@…
Message:

fix ports using the deactivate hack to work with trunk

Location:
trunk/dports/tex
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/latexdiff/Portfile

    r77438 r79385  
    5959        && ![catch {set vers [lindex [registry_active texlive-bin-extra] 0]}]
    6060        && [rpm-vercomp [lindex $vers 1] 19536] < 0} {
    61         registry_deactivate texlive-bin-extra "" [list ports_nodepcheck 1]
     61        set deactivate_proc registry_deactivate_composite
     62        if {[info commands registry_deactivate_composite] == {}} {
     63            set deactivate_proc registry_deactivate
     64        }
     65        $deactivate_proc texlive-bin-extra "" [list ports_nodepcheck 1]
    6266    }
    6367}
  • trunk/dports/tex/texlive-basic/Portfile

    r77617 r79385  
    5555
    5656pre-activate {
     57    set deactivate_proc registry_deactivate_composite
     58    if {[info commands registry_deactivate_composite] == {}} {
     59        set deactivate_proc registry_deactivate
     60    }
    5761    # If texlive 2007 metaport is installed, deactivate it to avoid
    5862    # conflicts on $prefix/bin/etex etc.
     
    6064        && ![catch {set vers [lindex [registry_active texlive] 0]}]
    6165        && [rpm-vercomp [lindex $vers 1] 2009] < 0} {
    62         registry_deactivate texlive "" [list ports_nodepcheck 1]
     66        $deactivate_proc texlive "" [list ports_nodepcheck 1]
    6367    }
    6468
     
    6771    if {![catch {set vers [lindex [registry_active texlive-fontutils] 0]}]
    6872        && [rpm-vercomp [lindex $vers 1] 16392] < 0} {
    69         registry_deactivate texlive-fontutils "" [list ports_nodepcheck 1]
     73        $deactivate_proc texlive-fontutils "" [list ports_nodepcheck 1]
    7074    }
    7175
     
    7680         && [rpm-vercomp [lindex $vers 1] 14727] == 0
    7781         && [lindex $vers 2] < 2} {
    78         registry_deactivate texlive-lang-mongolian "" [list ports_nodepcheck 1]
     82        $deactivate_proc texlive-lang-mongolian "" [list ports_nodepcheck 1]
    7983    }
    8084
  • trunk/dports/tex/texlive-bin/Portfile

    r77764 r79385  
    158158         && [rpm-vercomp [lindex $vers 1] 13822] == 0
    159159         && [lindex $vers 2] <3} {
    160         registry_deactivate texlive-htmlxml "" [list ports_nodepcheck 1]
     160        set deactivate_proc registry_deactivate_composite
     161        if {[info commands registry_deactivate_composite] == {}} {
     162            set deactivate_proc registry_deactivate
     163        }
     164        $deactivate_proc texlive-htmlxml "" [list ports_nodepcheck 1]
    161165    }
    162166}
  • trunk/dports/tex/texlive-common/Portfile

    r75079 r79385  
    111111    # does not accomplish this because not all of these ports conflict
    112112    # with this one (although they will cause problems later).
     113    set deactivate_proc registry_deactivate_composite
     114    if {[info commands registry_deactivate_composite] == {}} {
     115        set deactivate_proc registry_deactivate
     116    }
    113117    foreach oldport {texlive_base texlive_texmf-full texlive_texmf-minimal texlive_texmf-docs teTeX} {
    114118        if {![catch {registry_active $oldport}]} {
    115             registry_deactivate $oldport "" [list ports_nodepcheck 1]
     119            $deactivate_proc $oldport "" [list ports_nodepcheck 1]
    116120        }
    117121    }
  • trunk/dports/tex/texlive-fonts-recommended/Portfile

    r73314 r79385  
    4949    if {![catch {set vers [lindex [registry_active texlive-fonts-extra] 0]}]
    5050        && [rpm-vercomp [lindex $vers 1] 19491] < 0} {
    51         registry_deactivate texlive-fonts-extra "" [list ports_nodepcheck 1]
     51        set deactivate_proc registry_deactivate_composite
     52        if {[info commands registry_deactivate_composite] == {}} {
     53            set deactivate_proc registry_deactivate
     54        }
     55        $deactivate_proc texlive-fonts-extra "" [list ports_nodepcheck 1]
    5256    }
    5357}
  • trunk/dports/tex/texlive-generic-recommended/Portfile

    r74955 r79385  
    2424    if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}]
    2525        && [rpm-vercomp [lindex $vers 1] 19548] < 0} {
    26         registry_deactivate texlive-latex-extra "" [list ports_nodepcheck 1]
     26        set deactivate_proc registry_deactivate_composite
     27        if {[info commands registry_deactivate_composite] == {}} {
     28            set deactivate_proc registry_deactivate
     29        }
     30        $deactivate_proc texlive-latex-extra "" [list ports_nodepcheck 1]
    2731    }
    2832}
  • trunk/dports/tex/texlive-latex/Portfile

    r75626 r79385  
    3838    if {![catch {set vers [lindex [registry_active texlive-context] 0]}]
    3939        && [rpm-vercomp [lindex $vers 1] 18549] < 0} {
    40         registry_deactivate texlive-context "" [list ports_nodepcheck 1]
     40        set deactivate_proc registry_deactivate_composite
     41        if {[info commands registry_deactivate_composite] == {}} {
     42            set deactivate_proc registry_deactivate
     43        }
     44        $deactivate_proc texlive-context "" [list ports_nodepcheck 1]
    4145    }
    4246}
  • trunk/dports/tex/texlive-math-extra/Portfile

    r74955 r79385  
    3131    if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}]
    3232        && [rpm-vercomp [lindex $vers 1] 19538] < 0} {
    33         registry_deactivate texlive-latex-extra "" [list ports_nodepcheck 1]
     33        set deactivate_proc registry_deactivate_composite
     34        if {[info commands registry_deactivate_composite] == {}} {
     35            set deactivate_proc registry_deactivate
     36        }
     37        $deactivate_proc texlive-latex-extra "" [list ports_nodepcheck 1]
    3438    }
    3539}
  • trunk/dports/tex/texlive-pictures/Portfile

    r74955 r79385  
    3232    if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}]
    3333        && [rpm-vercomp [lindex $vers 1] 19538] < 0} {
    34         registry_deactivate texlive-latex-extra "" [list ports_nodepcheck 1]
     34        set deactivate_proc registry_deactivate_composite
     35        if {[info commands registry_deactivate_composite] == {}} {
     36            set deactivate_proc registry_deactivate
     37        }
     38        $deactivate_proc texlive-latex-extra "" [list ports_nodepcheck 1]
    3539    }
    3640}
Note: See TracChangeset for help on using the changeset viewer.