summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-06-04 21:39:11 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-05 13:02:13 +0200
commite72e621d89fee1d368f294eb239fa4fe54a1b5f2 (patch)
tree2a9a62a430a1e566f7ed6d7f6093ebdf30b1a2d4 /Ports
parentfccba571a2fa3ef1b005f4a3c2a8d29e6dd1e98a (diff)
downloadserenity-e72e621d89fee1d368f294eb239fa4fe54a1b5f2.zip
Ports/PHP: Enable OpenSSL extension
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/php/package.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Ports/php/package.sh b/Ports/php/package.sh
index 6ac8807720..1b9e237cae 100755
--- a/Ports/php/package.sh
+++ b/Ports/php/package.sh
@@ -4,11 +4,12 @@ useconfigure="true"
version="8.0.6"
files="https://www.php.net/distributions/php-${version}.tar.xz php-${version}.tar.xz e9871d3b6c391fe9e89f86f6334852dcc10eeaaa8d5565beb8436e7f0cf30e20"
auth_type=sha256
-depends="libiconv libxml2 sqlite zlib"
+depends="libiconv libxml2 openssl sqlite zlib"
configopts="
--disable-opcache
--prefix=${SERENITY_INSTALL_ROOT}/usr/local
--with-iconv=${SERENITY_INSTALL_ROOT}/usr/local
+ --with-openssl
--with-zlib
--without-pcre-jit
"
@@ -17,6 +18,8 @@ export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2/"
export LIBS="-ldl"
export LIBXML_CFLAGS="y"
export LIBXML_LIBS="-lxml2"
+export OPENSSL_CFLAGS="y"
+export OPENSSL_LIBS="-lssl -lcrypto"
export SQLITE_CFLAGS="y"
export SQLITE_LIBS="-lsqlite3 -lpthread"
export ZLIB_CFLAGS="y"