summaryrefslogtreecommitdiff
path: root/Ports/ntbtls
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/ntbtls
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/ntbtls')
-rwxr-xr-xPorts/ntbtls/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/ntbtls/package.sh b/Ports/ntbtls/package.sh
index 1b300260fa..9e1f4f55f0 100755
--- a/Ports/ntbtls/package.sh
+++ b/Ports/ntbtls/package.sh
@@ -2,7 +2,7 @@
port=ntbtls
version=0.2.0
useconfigure=true
-depends="libgpg-error libksba libgcrypt"
+depends=("libgpg-error" "libksba" "libgcrypt")
files="https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2 ntbtls-${version}.tar.bz2 649fe74a311d13e43b16b26ebaa91665ddb632925b73902592eac3ed30519e17"
auth_type=sha256
@@ -11,11 +11,11 @@ pre_configure() {
}
configure() {
- run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" $configopts
+ run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" "${configopts[@]}"
}
install() {
- run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
+ run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libntbtls.so -Wl,-soname,libntbtls.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libntbtls.a -Wl,--no-whole-archive -lgpg-error -lksba -lgcrypt
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libntbtls.la
}