diff --git a/community/php81/APKBUILD b/community/php81/APKBUILD index d4b4fec9909..35bae8a2c7e 100644 --- a/community/php81/APKBUILD +++ b/community/php81/APKBUILD @@ -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