diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-09-27 00:16:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-05 02:13:08 +0200 |
commit | c07f91474de4088c4eccd45ccc6883a515439d69 (patch) | |
tree | 19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/libtiff/package.sh | |
parent | e507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff) | |
download | serenity-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/libtiff/package.sh')
-rwxr-xr-x | Ports/libtiff/package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/libtiff/package.sh b/Ports/libtiff/package.sh index 61745d200f..79ab1a9d95 100755 --- a/Ports/libtiff/package.sh +++ b/Ports/libtiff/package.sh @@ -6,11 +6,11 @@ files="http://download.osgeo.org/libtiff/tiff-${version}.tar.gz tiff-${version}. http://download.osgeo.org/libtiff/tiff-${version}.tar.gz.sig tiff-${version}.tar.gz.sig" auth_type="sig" auth_import_key="EBDFDB21B020EE8FD151A88DE301047DE1198975" -auth_opts="tiff-${version}.tar.gz.sig tiff-${version}.tar.gz" -depends="libjpeg zstd xz" +auth_opts=("tiff-${version}.tar.gz.sig" "tiff-${version}.tar.gz") +depends=("libjpeg" "zstd" "xz") 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/libtiff.so -Wl,-soname,libtiff.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.a -Wl,--no-whole-archive -lzstd -llzma -ljpeg ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.so -Wl,-soname,libtiffxx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.a -Wl,--no-whole-archive -lzstd -llzma -ljpeg rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiff.la ${SERENITY_INSTALL_ROOT}/usr/local/lib/libtiffxx.la |