Changeset 88513


Ignore:
Timestamp:
Jan 4, 2012, 12:33:51 AM (6 years ago)
Author:
cal@…
Message:

mod_perl2: Perl prints "define" in the thread test for some reason

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/mod_perl2/Portfile

    r88512 r88513  
    3838pre-configure {
    3939    set perl5bin "${prefix}/bin/perl5"
    40     if ![exec ${perl5bin} -MConfig -e "print \$Config{'useshrplib'} || 0"] {
     40    if {[exec ${perl5bin} -MConfig -e "print \$Config{'useshrplib'} || 0"] != "0"} {
    4141        ui_error "${name} requires perl5 to be installed with the +shared variant."
    4242        return -code error "perl5 must be +shared"
    4343    }
    44     if ![exec ${perl5bin} -MConfig -e "print \$Config{'usethreads'} || 0"] {
     44    if {[exec ${perl5bin} -MConfig -e "print \$Config{'usethreads'} || 0"] != "0"} {
    4545        ui_error "${name} requires perl5 to be installed with the +threads variant."
    4646        return -code error "perl5 must be +threads"
Note: See TracChangeset for help on using the changeset viewer.