diff --git a/Ports/php/package.sh b/Ports/php/package.sh index 03d765d6630..53d8f00a157 100755 --- a/Ports/php/package.sh +++ b/Ports/php/package.sh @@ -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 " diff --git a/Ports/php/patches/configure-disable-pharcmd.patch b/Ports/php/patches/configure-disable-pharcmd.patch new file mode 100644 index 00000000000..0861cb1e4b6 --- /dev/null +++ b/Ports/php/patches/configure-disable-pharcmd.patch @@ -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=