aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-29 19:20:52 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-05-02 01:04:52 +0200
commitb2cddfde1b6e689b23ca3f4edb0104c07aa527e4 (patch)
tree44d01338f97220555fe973ee0cb3bb8b046f642e /community/php7
parent7fc22b6b77fba8be7bbbf10c8d107565b163b364 (diff)
downloadaports-b2cddfde1b6e689b23ca3f4edb0104c07aa527e4.tar.bz2
aports-b2cddfde1b6e689b23ca3f4edb0104c07aa527e4.tar.xz
community/php7: switch to mysqlnd (PHP mysql native driver)
Diffstat (limited to 'community/php7')
-rw-r--r--community/php7/APKBUILD10
1 files changed, 6 insertions, 4 deletions
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 \