Ignore:
Timestamp:
May 17, 2012, 2:41:41 AM (7 years ago)
Author:
ryandesign@…
Message:

php-1.0.tcl: for extension ports, set dist_subdir even in the stub port

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/php-1.0.tcl

    r93148 r93176  
    105105    global php.default_branch php.rootname php._bundled name subport
    106106    if {[regexp {^php-} ${name}]} {
     107        # Legacy dist_subdir to match old php5- port layout.
     108        if {!${php._bundled}} {
     109            if {[lindex [split [lindex [option ${option}] 0] .] 0] == "5"} {
     110                dist_subdir php5-${php.rootname}
     111            }
     112        }
     113       
    107114        # Create subport for each PHP branch.
    108115        foreach branch [option ${option}] {
    109             subport php[php.suffix_from_branch ${branch}]-${php.rootname} {
    110                 # Legacy dist_subdir to match old php5- port layout.
    111                 if {!${php._bundled}} {
    112                     if {[lindex [split [lindex [option ${option}] 0] .] 0] == "5"} {
    113                         dist_subdir php5-${php.rootname}
    114                     }
    115                 }
    116             }
     116            subport php[php.suffix_from_branch ${branch}]-${php.rootname} {}
    117117        }
    118118       
Note: See TracChangeset for help on using the changeset viewer.