summaryrefslogtreecommitdiff
path: root/Ports/php
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-09-27 00:16:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-05 02:13:08 +0200
commitc07f91474de4088c4eccd45ccc6883a515439d69 (patch)
tree19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/php
parente507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff)
downloadserenity-c07f91474de4088c4eccd45ccc6883a515439d69.zip
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
Diffstat (limited to 'Ports/php')
-rwxr-xr-xPorts/php/package.sh24
1 files changed, 12 insertions, 12 deletions
diff --git a/Ports/php/package.sh b/Ports/php/package.sh
index bfbfa78102..133202e680 100755
--- a/Ports/php/package.sh
+++ b/Ports/php/package.sh
@@ -4,18 +4,18 @@ useconfigure="true"
version="8.0.10"
files="https://www.php.net/distributions/php-${version}.tar.xz php-${version}.tar.xz 66dc4d1bc86d9c1bc255b51b79d337ed1a7a035cf71230daabbf9a4ca35795eb"
auth_type=sha256
-depends="libiconv libxml2 openssl readline sqlite zlib"
-configopts="
- --disable-cgi
- --disable-opcache
- --enable-fpm
- --prefix=${SERENITY_INSTALL_ROOT}/usr/local
- --with-iconv=${SERENITY_INSTALL_ROOT}/usr/local
- --with-openssl
- --with-readline=${SERENITY_INSTALL_ROOT}/usr/local
- --with-zlib
- --without-pcre-jit
-"
+depends=("libiconv" "libxml2" "openssl" "readline" "sqlite" "zlib")
+configopts=(
+ "--disable-cgi"
+ "--disable-opcache"
+ "--enable-fpm"
+ "--prefix=${SERENITY_INSTALL_ROOT}/usr/local"
+ "--with-iconv=${SERENITY_INSTALL_ROOT}/usr/local"
+ "--with-openssl"
+ "--with-readline=${SERENITY_INSTALL_ROOT}/usr/local"
+ "--with-zlib"
+ "--without-pcre-jit"
+)
launcher_name="PHP"
launcher_category="Development"
launcher_command="/usr/local/bin/php -a"