[92573] users/ryandesign/ports/lang/php/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue May 1 10:17:43 PDT 2012
Revision: 92573
https://trac.macports.org/changeset/92573
Author: ryandesign at macports.org
Date: 2012-05-01 10:17:41 -0700 (Tue, 01 May 2012)
Log Message:
-----------
php: fix suhosin variant
Modified Paths:
--------------
users/ryandesign/ports/lang/php/Portfile
Modified: users/ryandesign/ports/lang/php/Portfile
===================================================================
--- users/ryandesign/ports/lang/php/Portfile 2012-05-01 17:04:16 UTC (rev 92572)
+++ users/ryandesign/ports/lang/php/Portfile 2012-05-01 17:17:41 UTC (rev 92573)
@@ -195,18 +195,20 @@
ui_error "The suhosin variant requires Mac OS X 10.5 or greater."
return -code error "incompatible Mac OS X version"
}
- if {![tbool ${suhosin_available}]} {
+ if {!${suhosin_available}} {
ui_error "There is no suhosin patch for PHP ${version} yet. Please check back later."
}
if {![file exists ${extraphpinidir}/suhosin.ini]} {
ui_msg "You may also be interested in the suhosin extension, a related but different piece of software. See the ${php}-suhosin port."
}
- if {![tbool ${suhosin_available}]} {
+ if {!${suhosin_available}} {
return -code error "unavailable variant"
}
}
patch_sites-append http://download.suhosin.org/
- patchfiles-append ${suhosin_patch}
+ if {${suhosin_available}} {
+ patchfiles-append ${suhosin_patch}
+ }
}
if {${subport} != ${php}} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120501/0299ee21/attachment-0001.html>
More information about the macports-changes
mailing list