aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2016-12-10 19:02:45 +0300
committerJakub Jirutka <jakub@jirutka.cz>2016-12-13 00:49:14 +0100
commit60b55d5d8753037e99820c217ae7adf142a3db82 (patch)
treea580936c0c2c9b04efabbfaf059940cad2628067 /community
parent1905f7d7adeb1b70d8d35f9602b439e0770472b2 (diff)
downloadaports-60b55d5d8753037e99820c217ae7adf142a3db82.tar.bz2
aports-60b55d5d8753037e99820c217ae7adf142a3db82.tar.xz
community/php7: bundle php7-readline extension
There's no way to keep php7-readline extension shared. Redhat bundling it into php executables https://apps.fedoraproject.org/packages/php/sources/spec/ The same as official PHP for Alpine docker image https://github.com/docker-library/php/blob/master/7.0/alpine/Dockerfile#L114
Diffstat (limited to 'community')
-rw-r--r--community/php7/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD
index 149b823f3d..5e68de3236 100644
--- a/community/php7/APKBUILD
+++ b/community/php7/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php7
_pkgreal=php
pkgver=7.0.14
-pkgrel=2
+pkgrel=3
pkgdesc="The PHP language runtime engine - 7th branch"
url="http://www.php.net/"
arch="all"
@@ -23,7 +23,7 @@ makedepends="autoconf bison re2c apache2-dev libxml2-dev libxslt-dev libzip-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
libpng-dev libwebp-dev libjpeg-turbo-dev libmcrypt-dev gsoap-dev recode-dev
- readline-dev paxmark gettext-dev
+ libedit-dev paxmark gettext-dev
"
source="http://php.net/distributions/$_pkgreal-$pkgver.tar.bz2
$pkgname-fpm.initd
@@ -39,7 +39,7 @@ builddir="$srcdir/$_pkgreal-$pkgver"
_exts="bcmath bz2 calendar ctype curl dba dom enchant exif ftp gd gettext gmp iconv imap intl json
ldap mbstring mcrypt mysqli mysqlnd odbc opcache openssl pcntl pdo pdo_dblib pdo_mysql
- pdo_odbc pdo_pgsql pdo_sqlite pgsql phar:phar posix pspell readline session shmop snmp soap
+ pdo_odbc pdo_pgsql pdo_sqlite pgsql phar:phar posix pspell session shmop snmp soap
sockets sqlite3 sysvmsg sysvsem sysvshm tidy wddx xml xmlreader xmlrpc xsl zip zlib
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-apache2 $pkgname-phpdbg $pkgname-embed
@@ -124,6 +124,8 @@ _build() {
--enable-posix=shared \
--enable-phar=shared \
--with-pspell=shared \
+ --without-readline \
+ --with-libedit \
--enable-session=shared \
--enable-shmop=shared \
--with-snmp=shared \
@@ -153,14 +155,12 @@ build() {
--enable-phpdbg-webhelper \
--disable-cgi \
--disable-cli \
- --with-readline \
|| return 1
# apache2 module
_build --disable-phpdbg \
--disable-cgi \
--disable-cli \
--with-apxs2 \
- --with-readline=shared \
|| return 1
mv libs/libphp7.so sapi/apache2handler/mod_php7.so
# cgi,cli,fpm,embed,litespeed
@@ -168,7 +168,6 @@ build() {
--enable-fpm \
--enable-embed \
--with-litespeed \
- --with-readline=shared \
|| return 1
}