[88513] trunk/dports/www/mod_perl2/Portfile
cal at macports.org
cal at macports.org
Tue Jan 3 16:33:52 PST 2012
Revision: 88513
http://trac.macports.org/changeset/88513
Author: cal at macports.org
Date: 2012-01-03 16:33:51 -0800 (Tue, 03 Jan 2012)
Log Message:
-----------
mod_perl2: Perl prints "define" in the thread test for some reason
Modified Paths:
--------------
trunk/dports/www/mod_perl2/Portfile
Modified: trunk/dports/www/mod_perl2/Portfile
===================================================================
--- trunk/dports/www/mod_perl2/Portfile 2012-01-03 23:44:34 UTC (rev 88512)
+++ trunk/dports/www/mod_perl2/Portfile 2012-01-04 00:33:51 UTC (rev 88513)
@@ -37,11 +37,11 @@
pre-configure {
set perl5bin "${prefix}/bin/perl5"
- if ![exec ${perl5bin} -MConfig -e "print \$Config{'useshrplib'} || 0"] {
+ if {[exec ${perl5bin} -MConfig -e "print \$Config{'useshrplib'} || 0"] != "0"} {
ui_error "${name} requires perl5 to be installed with the +shared variant."
return -code error "perl5 must be +shared"
}
- if ![exec ${perl5bin} -MConfig -e "print \$Config{'usethreads'} || 0"] {
+ if {[exec ${perl5bin} -MConfig -e "print \$Config{'usethreads'} || 0"] != "0"} {
ui_error "${name} requires perl5 to be installed with the +threads variant."
return -code error "perl5 must be +threads"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120103/df30ccb5/attachment.html>
More information about the macports-changes
mailing list