[90675] trunk/dports/_resources/port1.0/group/php-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Sun Mar 11 18:42:06 PDT 2012


Revision: 90675
          http://trac.macports.org/changeset/90675
Author:   ryandesign at macports.org
Date:     2012-03-11 18:42:06 -0700 (Sun, 11 Mar 2012)
Log Message:
-----------
php-1.0.tcl: rename phpiniextensiondir to php_ini_extension_dir

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-03-12 01:41:34 UTC (rev 90674)
+++ trunk/dports/_resources/port1.0/group/php-1.0.tcl	2012-03-12 01:42:06 UTC (rev 90675)
@@ -198,10 +198,10 @@
                 set fp [open ${php.ini} r]
                 while {![eof $fp]} {
                     set line [gets $fp]
-                    regexp {^extension_dir *= *"?([^\"]*)"?} $line -> phpiniextensiondir
-                    if {[info exists phpiniextensiondir]} {
-                        ui_debug "Found extension_dir ${phpiniextensiondir} in ${php.ini}"
-                        if {${phpiniextensiondir} != ${php.extension_dir}} {
+                    regexp {^extension_dir *= *"?([^\"]*)"?} $line -> php_ini_extension_dir
+                    if {[info exists php_ini_extension_dir]} {
+                        ui_debug "Found extension_dir ${php_ini_extension_dir} in ${php.ini}"
+                        if {${php_ini_extension_dir} != ${php.extension_dir}} {
                             if {0 == ${count}} {
                                 ui_msg "Your php.ini contains a line that will prevent ${name}"
                                 ui_msg "and other PHP extensions from working. To fix this,"
@@ -211,7 +211,7 @@
                             ui_msg ${line}
                             incr count
                         }
-                        unset phpiniextensiondir
+                        unset php_ini_extension_dir
                     }
                 }
                 close $fp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120311/ebaf20ed/attachment.html>


More information about the macports-changes mailing list