Ignore:
Timestamp:
Dec 13, 2009, 7:44:25 AM (8 years ago)
Author:
ryandesign@…
Message:

php5 update:

  • php5extension ports that have headers now install them, and php5 and php5-devel now install headers for the mysqlnd extension they install (#22660)
  • php5extension ports that install multiple extensions (the database extensions) now work with the php5 port's +debug variant; php5extension ports now have +debug variants and require the use or nonuse of this variant be matched with the php5 port (#22662)
  • php5extension ports for bundled extensions now mandate a matching version of php5 installed (#22808)
  • php5extension ports now note in their .ini files that they aren't to be modified by users (#22811)
  • update suhosin patch in php5 and php5-devel to 0.9.8/5.3.1 final (#22865)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/php/php5-mysql/Portfile

    r60734 r61490  
    44PortGroup                       php5extension 1.0
    55
    6 php5extension.setup             mysql 5.3.1 bundled
    7 php5extension.use_phpize        no
     6php5extension.setup             {mysql mysqli pdo_mysql} 5.3.1 bundled
     7revision                        1
    88categories-append               databases
    99platforms                       darwin
     
    2121depends_lib-append              port:zlib
    2222
    23 configure.args-append           --with-zlib-dir=${prefix} \
    24                                 --enable-pdo
     23configure.args-append           --with-zlib-dir=${prefix}
    2524
    2625use_parallel_build              yes
    2726
    2827variant mysqlnd conflicts mysql4 mysql5 description {Use MySQL Native Driver} {
    29     configure.args-append       --with-mysql=shared,mysqlnd \
    30                                 --with-mysqli=shared,mysqlnd \
    31                                 --with-pdo-mysql=shared,mysqlnd
     28    configure.args-append       --with-mysql=mysqlnd \
     29                                --with-mysqli=mysqlnd \
     30                                --with-pdo-mysql=mysqlnd
     31    configure.cppflags-append   -I${worksrcpath}
    3232    post-install {
    3333        set phpini ${prefix}/etc/php5/php.ini
     
    4242variant mysql4 conflicts mysql5 mysqlnd description {Use MySQL 4 libraries} {
    4343    depends_lib-append          port:mysql4
    44     configure.args-append       --with-mysql=shared,${prefix} \
    45                                 --with-pdo-mysql=shared,${prefix}
     44    configure.args-append       --with-mysql=${prefix} \
     45                                --with-pdo-mysql=${prefix}
    4646}
    4747
    4848variant mysql5 conflicts mysql4 mysqlnd description {Use MySQL 5 libraries} {
    4949    depends_lib-append          path:bin/mysql_config5:mysql5
    50     configure.args-append       --with-mysql=shared,${workpath}/mysql5 \
    51                                 --with-mysqli=shared,${prefix}/bin/mysql_config5 \
    52                                 --with-pdo-mysql=shared,${prefix}/bin/mysql_config5 \
     50    configure.args-append       --with-mysql=${workpath}/mysql5 \
     51                                --with-mysqli=${prefix}/bin/mysql_config5 \
     52                                --with-pdo-mysql=${prefix}/bin/mysql_config5 \
    5353                                --with-mysql-sock=${prefix}/var/run/mysql5/mysqld.sock
    5454    post-extract {
Note: See TracChangeset for help on using the changeset viewer.