mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 14:27:35 +00:00
Ports/alpine: Patch build system files that added Serenity support
Changes the strategy for building Alpine to patch the distribution build system files (configure, pith/Makefile.in), instead of regenerating them from scratch. This reduces fragility of the port as it no longer depends on the build system having a compatible version of the auto* tools installed. Resolves SerenityOS/serenity#19891.
This commit is contained in:
parent
89b0a61067
commit
5941117739
4 changed files with 19 additions and 30 deletions
|
@ -20,18 +20,6 @@ launcher_command='/usr/local/bin/alpine'
|
|||
launcher_run_in_terminal='true'
|
||||
icon_file='web/cgi/favicon.ico'
|
||||
|
||||
pre_configure() {
|
||||
# Rebuild after patching configure.ac to support serenity host.
|
||||
|
||||
# `automake` may exit with a warning about how there is a mismatch
|
||||
# between the versions of autoconf and automake that were previously
|
||||
# used to generate aclocal and specifed in configure.ac.
|
||||
# We just need `automake` to generate `./compile` (so that we can run
|
||||
# autoreconf to regenerate everything).
|
||||
run automake --add-missing || true
|
||||
run autoreconf
|
||||
}
|
||||
|
||||
configure() {
|
||||
run ./"$configscript" \
|
||||
"${configopts[@]}" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue