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 @@
# libzip | BSD | ext/zip/lib | not used
# libXMLRPC | BSD | ext/xmlrpc/libxmlrpc | used
# Static extensions
#
# Name | Reason
#-----------+--------------------------------------------
# zlib | https://bugs.alpinelinux.org/issues/8299
pkgname=php7
_pkgreal=php
pkgver=7.1.16
pkgrel=0
pkgrel=1
_apiver=20160303
_suffix=${pkgname#php}
# Is this package the default (latest) PHP version?
......@@ -77,7 +83,7 @@ makedepends="
unixodbc-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
$pkgname-embed $pkgname-litespeed $pkgname-cgi $pkgname-fpm
$pkgname-pear::noarch
......@@ -157,7 +163,6 @@ _extensions="
xmlwriter
xsl
zip
zlib
"
for _ext in $_extensions; do
case "$_ext" in
......@@ -329,7 +334,7 @@ _build() {
--with-xsl=shared \
--enable-zip=shared \
--with-libzip=/usr \
--with-zlib=shared \
--with-zlib \
--with-zlib-dir=/usr \
$@
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