summaryrefslogtreecommitdiff
path: root/Ports/openssl
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/openssl
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/openssl')
-rwxr-xr-xPorts/openssl/package.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ports/openssl/package.sh b/Ports/openssl/package.sh
index f15a407cbc..8b48fe7836 100755
--- a/Ports/openssl/package.sh
+++ b/Ports/openssl/package.sh
@@ -7,15 +7,15 @@ configscript=Configure
files="https://ftp.nluug.nl/security/openssl/openssl-${version}.tar.gz openssl-${version}.tar.gz 892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5"
auth_type=sha256
-depends="zlib"
-configopts="--prefix=/usr/local -DOPENSSL_SYS_SERENITY=1 -DOPENSSL_USE_IPV6=0 gcc zlib no-tests no-threads no-asm"
+depends=("zlib")
+configopts=("--prefix=/usr/local" "-DOPENSSL_SYS_SERENITY=1" "-DOPENSSL_USE_IPV6=0" "gcc" "zlib" "no-tests" "no-threads" "no-asm")
configure() {
- run ./"$configscript" $configopts
+ run ./"$configscript" "${configopts[@]}"
}
install() {
# The default "install" also installs docs, which we don't want.
- run make DESTDIR=$DESTDIR install_sw $installopts
- run make DESTDIR=$DESTDIR install_ssldirs $installopts
+ run make DESTDIR=$DESTDIR install_sw "${installopts[@]}"
+ run make DESTDIR=$DESTDIR install_ssldirs "${installopts[@]}"
}