[93176] trunk/dports/_resources/port1.0/group/php-1.0.tcl
ryandesign at macports.org
ryandesign at macports.org
Wed May 16 19:41:42 PDT 2012
Revision: 93176
https://trac.macports.org/changeset/93176
Author: ryandesign at macports.org
Date: 2012-05-16 19:41:41 -0700 (Wed, 16 May 2012)
Log Message:
-----------
php-1.0.tcl: for extension ports, set dist_subdir even in the stub port
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/php-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/php-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/php-1.0.tcl 2012-05-17 02:38:21 UTC (rev 93175)
+++ trunk/dports/_resources/port1.0/group/php-1.0.tcl 2012-05-17 02:41:41 UTC (rev 93176)
@@ -104,16 +104,16 @@
global php.default_branch php.rootname php._bundled name subport
if {[regexp {^php-} ${name}]} {
+ # Legacy dist_subdir to match old php5- port layout.
+ if {!${php._bundled}} {
+ if {[lindex [split [lindex [option ${option}] 0] .] 0] == "5"} {
+ dist_subdir php5-${php.rootname}
+ }
+ }
+
# Create subport for each PHP branch.
foreach branch [option ${option}] {
- subport php[php.suffix_from_branch ${branch}]-${php.rootname} {
- # Legacy dist_subdir to match old php5- port layout.
- if {!${php._bundled}} {
- if {[lindex [split [lindex [option ${option}] 0] .] 0] == "5"} {
- dist_subdir php5-${php.rootname}
- }
- }
- }
+ subport php[php.suffix_from_branch ${branch}]-${php.rootname} {}
}
# Set up stub port.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120516/d1790f59/attachment.html>
More information about the macports-changes
mailing list