[109486] trunk/dports/lang/php/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 16 01:36:15 PDT 2013


Revision: 109486
          https://trac.macports.org/changeset/109486
Author:   ryandesign at macports.org
Date:     2013-08-16 01:36:15 -0700 (Fri, 16 Aug 2013)
Log Message:
-----------
php54: update to 5.4.18

Modified Paths:
--------------
    trunk/dports/lang/php/Portfile

Modified: trunk/dports/lang/php/Portfile
===================================================================
--- trunk/dports/lang/php/Portfile	2013-08-16 07:40:53 UTC (rev 109485)
+++ trunk/dports/lang/php/Portfile	2013-08-16 08:36:15 UTC (rev 109486)
@@ -31,7 +31,7 @@
 # Returns true if the subport is a SAPI, false otherwise (extension, stub port).
 proc is_sapi_subport {} {
     global name subport php.rootname
-    if {${name} == ${subport}} {
+    if {${name} eq ${subport}} {
         return no
     }
     if {[regexp {^php\d+$} ${subport}]} {
@@ -43,7 +43,7 @@
 # Returns true if the subport is an extension, false otherwise (SAPI, stub port).
 proc is_extension_subport {} {
     global name subport
-    if {${name} == ${subport}} {
+    if {${name} eq ${subport}} {
         return no
     }
     return [expr {![is_sapi_subport]}]
@@ -74,13 +74,13 @@
     }
     5.4 {
         epoch           1
-        version         5.4.17
+        version         5.4.18
         use_bzip2       yes
         set suhosin_available       no
         checksums       [suffix ${distname}] \
-                        md5     1e027e99e2a874310fd518e87e3947af \
-                        rmd160  b167420094885593f068bcd3a012452a0156bb5b \
-                        sha256  dc49935387a5d1f6ac798a3bb4902ca5020f3aa74117ea848b58d1bb61327eb4
+                        md5     b2e185b46b22a48a385cf21a0dc76e65 \
+                        rmd160  4310a38c110b34c3aba6aabed520ec910a4a945c \
+                        sha256  1d9409be15d651593456904140503367146923c347db4f471cde599192ff91d9
     }
     5.5 {
         epoch           2
@@ -127,7 +127,7 @@
     
     depends_build       port:pkgconfig
     
-    if {${subport} != ${php}} {
+    if {${subport} ne ${php}} {
         depends_lib     port:${php}
     }
     
@@ -199,7 +199,7 @@
     
     variant suhosin description {Add Suhosin patch} {
         pre-fetch {
-            if {"darwin" == ${os.platform} && ${os.major} < 9} {
+            if {${os.platform} eq "darwin" && ${os.major} < 9} {
                 ui_error "The suhosin variant requires Mac OS X 10.5 or greater."
                 return -code error "incompatible Mac OS X version"
             }
@@ -221,7 +221,7 @@
         }
     }
     
-    if {${subport} != ${php}} {
+    if {${subport} ne ${php}} {
         notes-append "If this is your first install, you need to enable ${subport} in your web server."
     }
     
@@ -1139,7 +1139,7 @@
 set branch              ${subport_branch}
 set php                 php[php.suffix_from_branch ${branch}]
 
-if {${name} == ${subport}} {
+if {${name} eq ${subport}} {
     # Set up the stub port.
     version             ${branch}
     revision            0
@@ -1191,7 +1191,7 @@
     
     pre-configure {
         set php_version [exec ${php.config} --version 2>/dev/null]
-        if {${version} != ${php_version}} {
+        if {${version} ne ${php_version}} {
             ui_error "${subport} @${version} requires ${php} @${version} but you have ${php} @${php_version}."
             return -code error "incompatible ${php} installation"
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130816/3b5e087e/attachment.html>


More information about the macports-changes mailing list