1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

Ports: Download fresh config.guess if needed

The config.guess file needs to know about the SerenityOS `uname -m`
system name if we want to build ports inside Serenity. Support was only
added in January 2022, so most ports don't have a new enough version
yet.

This commit adds facilities for fetching a fresh config.guess file that
supports SerenityOS, similarly to what we do for config.sub. As its
first user, we make the bash port buildable inside the system.
This commit is contained in:
Daniel Bertalan 2022-02-25 20:26:15 +01:00 committed by Linus Groh
parent aed2e214b6
commit 4f89f47acb
2 changed files with 18 additions and 0 deletions

View file

@ -3,7 +3,9 @@ port=bash
version=5.1.16
useconfigure=true
use_fresh_config_sub=true
use_fresh_config_guess=true
config_sub_path=support/config.sub
config_guess_path=support/config.guess
configopts=("--disable-nls" "--without-bash-malloc")
files="https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558"
auth_type="sha256"