From c07f91474de4088c4eccd45ccc6883a515439d69 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Mon, 27 Sep 2021 00:16:18 +0200 Subject: 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. --- Ports/npth/package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ports/npth/package.sh') diff --git a/Ports/npth/package.sh b/Ports/npth/package.sh index 3c50226ea4..5a837921ac 100755 --- a/Ports/npth/package.sh +++ b/Ports/npth/package.sh @@ -6,11 +6,11 @@ files="https://gnupg.org/ftp/gcrypt/npth/npth-${version}.tar.bz2 npth-${version} auth_type=sha256 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 -pthread -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libnpth.so -Wl,-soname,libnpth.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libnpth.a -Wl,--no-whole-archive rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libnpth.la } -- cgit v1.2.3