From 77d9a764e324ef7fb17ce515f303d5de7d1bf69e Mon Sep 17 00:00:00 2001 From: EWouters <6179932+EWouters@users.noreply.github.com> Date: Sat, 2 Apr 2022 12:34:18 +0200 Subject: [PATCH] Ports/libtiff: Name port as folder name and fix workdir Previously when installing libtiff as a dependency for another port it would not find the entry in `packages.db` as the ports that depend on libtiff would use the folder name rather than the port name in the dependency list. They did this because there was is a bug in `.port_include.sh` that cds to the port name and not the folder the port lives in. This is a workaround for that issue. --- Ports/libtiff/package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ports/libtiff/package.sh b/Ports/libtiff/package.sh index f6a638276e..8701580865 100755 --- a/Ports/libtiff/package.sh +++ b/Ports/libtiff/package.sh @@ -1,7 +1,8 @@ #!/usr/bin/env -S bash ../.port_include.sh -port=tiff +port=libtiff version=4.3.0 useconfigure=true +workdir="tiff-$version" files="http://download.osgeo.org/libtiff/tiff-${version}.tar.gz tiff-${version}.tar.gz 0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8" auth_type="sha256" depends=("libjpeg" "zstd" "xz")