1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:17:34 +00:00

Ports: Replace mc config.sub patch with our own download

`mc` runs `autoconf` on the fly, which unpacks a `config.sub` from its
own files. This means that support for `serenity` (and the fact whether
the patch successfully applies) depends on the version of `autoconf`
that is installed on the host.

Instead, just always replace it with a fresh version straight from the
GNU server.
This commit is contained in:
Tim Schumacher 2022-04-30 02:42:46 +02:00 committed by Linus Groh
parent 283aa43bf9
commit 365caec2e2
5 changed files with 6 additions and 42 deletions

View file

@ -15,6 +15,8 @@ configopts=(
"--with-ncurses-includes=$SERENITY_BUILD_DIR/Root/usr/local/include/ncurses"
"--with-ncurses-libs=$SERENITY_BUILD_DIR/Root/usr/local/lib"
)
use_fresh_config_sub=true
config_sub_path=config/config.sub
pre_patch() {
run ./autogen.sh