Commit c8d008ad authored by Andy Postnikov's avatar Andy Postnikov Committed by Jakub Jirutka

community/php7: make zlib extension builtin

PHP lacks some functionality when zlib extension built dynamic.

Ref #8299 (https://bugs.alpinelinux.org/issues/8299)
parent 948cf814
...@@ -17,10 +17,16 @@ ...@@ -17,10 +17,16 @@
# libzip | BSD | ext/zip/lib | not used # libzip | BSD | ext/zip/lib | not used
# libXMLRPC | BSD | ext/xmlrpc/libxmlrpc | used # libXMLRPC | BSD | ext/xmlrpc/libxmlrpc | used
# Static extensions
#
# Name | Reason
#-----------+--------------------------------------------
# zlib | https://bugs.alpinelinux.org/issues/8299
pkgname=php7 pkgname=php7
_pkgreal=php _pkgreal=php
pkgver=7.1.16 pkgver=7.1.16
pkgrel=0 pkgrel=1
_apiver=20160303 _apiver=20160303
_suffix=${pkgname#php} _suffix=${pkgname#php}
# Is this package the default (latest) PHP version? # Is this package the default (latest) PHP version?
...@@ -77,7 +83,7 @@ makedepends=" ...@@ -77,7 +83,7 @@ makedepends="
unixodbc-dev unixodbc-dev
zlib-dev zlib-dev
" "
provides="$pkgname-cli" # for backward compatibility provides="$pkgname-cli $pkgname-zlib" # for backward compatibility
subpackages="$pkgname-dev $pkgname-doc $pkgname-apache2 $pkgname-phpdbg subpackages="$pkgname-dev $pkgname-doc $pkgname-apache2 $pkgname-phpdbg
$pkgname-embed $pkgname-litespeed $pkgname-cgi $pkgname-fpm $pkgname-embed $pkgname-litespeed $pkgname-cgi $pkgname-fpm
$pkgname-pear::noarch $pkgname-pear::noarch
...@@ -157,7 +163,6 @@ _extensions=" ...@@ -157,7 +163,6 @@ _extensions="
xmlwriter xmlwriter
xsl xsl
zip zip
zlib
" "
for _ext in $_extensions; do for _ext in $_extensions; do
case "$_ext" in case "$_ext" in
...@@ -329,7 +334,7 @@ _build() { ...@@ -329,7 +334,7 @@ _build() {
--with-xsl=shared \ --with-xsl=shared \
--enable-zip=shared \ --enable-zip=shared \
--with-libzip=/usr \ --with-libzip=/usr \
--with-zlib=shared \ --with-zlib \
--with-zlib-dir=/usr \ --with-zlib-dir=/usr \
$@ $@
make make
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment