ports/opt (2.8): php-mysql: update to 5.4.12, include the PDO driver
commit 167aa4015e4b752c1296d21a112179277f9ca559 Author: Juergen Daubert <jue@jue.li> Date: Mon Feb 25 13:12:33 2013 +0100 php-mysql: update to 5.4.12, include the PDO driver diff --git a/php-mysql/.footprint b/php-mysql/.footprint index 22e1d79..24fec74 100644 --- a/php-mysql/.footprint +++ b/php-mysql/.footprint @@ -7,3 +7,4 @@ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/php/ drwxr-xr-x root/root usr/lib/php/extensions/ -rwxr-xr-x root/root usr/lib/php/extensions/mysql.so +-rwxr-xr-x root/root usr/lib/php/extensions/pdo_mysql.so diff --git a/php-mysql/.md5sum b/php-mysql/.md5sum index c09a98e..25e27e0 100644 --- a/php-mysql/.md5sum +++ b/php-mysql/.md5sum @@ -1 +1 @@ -9975e68c22b86b013b934743ad2d2276 php-5.4.11.tar.bz2 +5c7b614242ae12e9cacca21c8ab84818 php-5.4.12.tar.bz2 diff --git a/php-mysql/Pkgfile b/php-mysql/Pkgfile index e7804d4..c5f0198 100644 --- a/php-mysql/Pkgfile +++ b/php-mysql/Pkgfile @@ -4,17 +4,22 @@ # Depends on: mysql name=php-mysql -version=5.4.11 +version=5.4.12 release=1 source=(http://www.php.net/distributions/php-$version.tar.bz2) build () { cd php-$version - ./configure --disable-all --with-mysql=shared,/usr + ./configure --disable-all \ + --enable-pdo=shared \ + --with-mysql=shared,/usr \ + --with-pdo-mysql=shared,/usr + make build-modules install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions} - install -m 755 modules/mysql.so $PKG/usr/lib/php/extensions - echo "extension=mysql.so" > $PKG/etc/php/conf.d/mysql.ini + install -m 755 modules/*mysql.so $PKG/usr/lib/php/extensions + + printf "extension=%s\n" {pdo_,}mysql.so > $PKG/etc/php/conf.d/mysql.ini }
participants (1)
-
crux@crux.nu