Ignore:
Timestamp:
May 5, 2012, 7:01:52 PM (7 years ago)
Author:
ryandesign@…
Message:

php portgroup: fix configure error in PDO portions of bundled database extensions; see #33742

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/php-1.0.tcl

    r92739 r92745  
    265265        }
    266266       
     267        post-extract {
     268            # The PDO extensions need the PDO headers which are installed by the ${php} port.
     269            foreach extension ${php.extensions} {
     270                if {[regexp {^pdo_} ${extension}]} {
     271                    file mkdir ${worksrcpath}/ext/${extension}/ext
     272                    ln -s ${prefix}/include/${php}/php/ext/pdo ${worksrcpath}/ext/${extension}/ext
     273                }
     274            }
     275        }
     276       
    267277        pre-configure {
    268278            set php_version [exec ${php.config} --version 2>/dev/null]
Note: See TracChangeset for help on using the changeset viewer.