Ports: Use our built-in config.sub download for libuuid

This commit is contained in:
Tim Schumacher 2022-05-25 13:54:13 +02:00 committed by Linus Groh
parent 2c886fa93f
commit f31f25b918
Notes: sideshowbarker 2024-07-17 10:40:56 +09:00

View file

@ -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
}