Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/php7: fix mysqli, mysqlnd and pdo_mysql extensions

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Mon, 22 Feb 2016 12:56:28 +0200

- mysqli and pdo_mysql now uses system libmysqlclient library
- mysqlnd now has mysqli as a backend
---
 testing/php7/APKBUILD | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/testing/php7/APKBUILD b/testing/php7/APKBUILD
index 72e889c..260befe 100644
--- a/testing/php7/APKBUILD
+++ b/testing/php7/APKBUILD
_at_@ -3,10 +3,10 @@
 pkgname=php7
 _pkgreal=php
 pkgver=7.0.3
-pkgrel=0
+pkgrel=1
 pkgdesc="The PHP language runtime engine - 7th branch"
 url="http://www.php.net/"
-arch="x86_64 armhf"
+arch="all"
 license="PHP-3"
 options="textrels"
 depends="$pkgname-common"
_at_@ -148,7 +148,8 @@ _build() {
 		--with-mcrypt=shared \
 		--with-sqlite3=shared --with-pdo-sqlite=shared \
 		--with-pdo-dblib=shared \
-		--with-mysqli=shared,mysqlnd --enable-mysqlnd=shared --with-pdo-mysql=shared --with-mysql-sock=/run/mysqld/mysqld.sock \
+		--with-mysqli=shared,/usr/bin/mysql_config \
+		--enable-mysqlnd=shared --with-pdo-mysql=shared,/usr/bin/mysql_config --with-mysql-sock=/run/mysqld/mysqld.sock \
 		--with-pgsql=shared --with-pdo-pgsql=shared \
 		--with-unixODBC=shared,/usr -with-pdo-odbc=shared,unixODBC,/usr \
 		--with-dbmaker=shared \
_at_@ -356,7 +357,7 @@ ldap()		{ _mv_ext ldap; }
 mbstring()	{ _mv_ext mbstring; }
 mcrypt()	{ _mv_ext mcrypt; }
 mysqli()	{ _mv_ext mysqli; }
-mysqlnd()	{ _mv_ext mysqlnd; }
+mysqlnd()	{ _mv_ext mysqlnd $pkgname-mysqli; }
 odbc()		{ _mv_ext odbc; }
 opcache()	{ _mv_ext opcache; }
 openssl()	{ _mv_ext openssl; }
-- 
2.7.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Feb 22 2016 - 12:56:28 GMT