From b2cddfde1b6e689b23ca3f4edb0104c07aa527e4 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 29 Apr 2017 19:20:52 +0200 Subject: community/php7: switch to mysqlnd (PHP mysql native driver) --- community/php7/APKBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'community') diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD index 2e8478d41c..f634a39961 100644 --- a/community/php7/APKBUILD +++ b/community/php7/APKBUILD @@ -12,7 +12,9 @@ license="PHP-3" options="" depends="$pkgname-common" depends_dom="$pkgname-xml" -depends_mysqlnd="$pkgname-mysqli" +depends_mysqli="$pkgname-mysqlnd" +depends_mysqlnd="$pkgname-openssl" +depends_pdo_mysql="$pkgname-mysqlnd" depends_phar="$pkgname" depends_soap="$pkgname-xml" depends_wddx="$pkgname-xml" @@ -22,7 +24,7 @@ depends_xsl="$pkgname-dom" makedepends="autoconf bison re2c apache2-dev libxml2-dev libxslt-dev libzip-dev bzip2-dev zlib-dev aspell-dev enchant-dev expat-dev pcre-dev curl-dev gmp-dev icu-dev imap-dev libical-dev libressl-dev openldap-dev net-snmp-dev db-dev krb5-dev gdbm-dev sqlite-dev - freetds-dev mariadb-dev postgresql-dev unixodbc-dev freetype-dev tidyhtml-dev libxpm-dev + freetds-dev postgresql-dev unixodbc-dev freetype-dev tidyhtml-dev libxpm-dev libpng-dev libwebp-dev libjpeg-turbo-dev libmcrypt-dev recode-dev libedit-dev gettext-dev " source="http://php.net/distributions/$_pkgreal-$pkgver.tar.bz2 @@ -120,8 +122,8 @@ _build() { --with-mcrypt=shared \ --with-sqlite3=shared,/usr --with-pdo-sqlite=shared,/usr \ --with-pdo-dblib=shared \ - --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-mysqli=shared,mysqlnd \ + --enable-mysqlnd=shared --with-pdo-mysql=shared,mysqlnd --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 \ -- cgit v1.2.3