Ports/PHP: Enable Phar extension

This commit is contained in:
Jelle Raaijmakers 2021-06-04 20:42:33 +02:00 committed by Andreas Kling
parent 169e93f0a7
commit 64e2e2cff3
Notes: sideshowbarker 2024-07-18 16:51:18 +09:00
2 changed files with 13 additions and 1 deletions

View file

@ -7,7 +7,6 @@ auth_type=sha256
depends="libiconv libxml2 sqlite zlib"
configopts="
--disable-opcache
--disable-phar
--prefix=${SERENITY_INSTALL_ROOT}/usr/local
--with-iconv=${SERENITY_INSTALL_ROOT}/usr/local
"

View file

@ -0,0 +1,13 @@
--- php-8.0.6/configure 2021-06-04 20:36:10.053986191 +0200
+++ php-8.0.6-patched/configure 2021-06-04 20:36:20.769935808 +0200
@@ -91478,8 +91478,8 @@
CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"
if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
- pharcmd=pharcmd
- pharcmd_install=install-pharcmd
+ pharcmd=
+ pharcmd_install=
else
pharcmd=
pharcmd_install=