summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-05-25 13:54:13 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-25 22:54:04 +0100
commitf31f25b9184e20fa6a8b6ef9218547df0ed0cf9a (patch)
tree0653503c6c579034889c452cac6da55a0fd12b76
parent2c886fa93f2466244daae4787921f5824780fb28 (diff)
downloadserenity-f31f25b9184e20fa6a8b6ef9218547df0ed0cf9a.zip
Ports: Use our built-in `config.sub` download for `libuuid`
-rwxr-xr-xPorts/libuuid/package.sh12
1 files changed, 3 insertions, 9 deletions
diff --git a/Ports/libuuid/package.sh b/Ports/libuuid/package.sh
index 7bae9a49c3..f5fdbd760f 100755
--- a/Ports/libuuid/package.sh
+++ b/Ports/libuuid/package.sh
@@ -5,13 +5,7 @@ version=2.38
workdir="util-linux-${version}"
useconfigure=true
configopts=("--prefix=/usr/local" "--disable-all-programs" "--enable-libuuid")
-files="https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${version}/util-linux-${version}.tar.gz util-linux-${version}.tar.gz c31d4e54f30b56b0f7ec8b342658c07de81378f2c067941c2b886da356f8ad42
-https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=c179db1b6f2ae484bfca1e9f8bae273e3319fa7d config.sub deb02c26f43b2ea64276c9ede77ec0f53d08e6256710f3c0a12275712085c348"
+files="https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${version}/util-linux-${version}.tar.gz util-linux-${version}.tar.gz c31d4e54f30b56b0f7ec8b342658c07de81378f2c067941c2b886da356f8ad42"
+use_fresh_config_sub=true
+config_sub_paths=("config/config.sub")
auth_type=sha256
-
-pre_configure() {
- # The generated config.sub is a *symlink* to the host's.
- # The one from GNU config should be similar enough, and recognizes serenity.
- run rm -f config/config.sub
- run cp ../config.sub config
-}