mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
community/php81: exclude zend_test from binaries
This commit is contained in:
parent
e65a188766
commit
e85e2d055d
@ -27,7 +27,7 @@
|
||||
pkgname=php81
|
||||
_pkgreal=php
|
||||
pkgver=8.1.26
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
_apiver=20210902
|
||||
_suffix=${pkgname#php}
|
||||
# Is this package the default (latest) PHP version?
|
||||
@ -349,7 +349,7 @@ _build() {
|
||||
--with-xsl=shared \
|
||||
--with-zip=shared \
|
||||
--with-zlib \
|
||||
--enable-zend-test \
|
||||
--enable-zend-test=shared \
|
||||
"$@"
|
||||
rm -f modules/* # clean-up possible previous build
|
||||
make
|
||||
@ -405,6 +405,7 @@ check() {
|
||||
|
||||
package() {
|
||||
make -j1 INSTALL_ROOT="$pkgdir" install
|
||||
rm "$pkgdir"/usr/lib/php$_suffix/modules/zend_test.so
|
||||
|
||||
install -Dm644 php.ini-production "$pkgdir"/etc/$pkgname/php.ini
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user