mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
Ports: Relocate use_fresh_config_sub
check to do_configure()
This commit is contained in:
parent
9cd93944b8
commit
673e81b90b
Notes:
sideshowbarker
2024-07-17 20:30:54 +09:00
Author: https://github.com/Fragstiller 🔰 Commit: https://github.com/SerenityOS/serenity/commit/673e81b90bb Pull-request: https://github.com/SerenityOS/serenity/pull/12041 Reviewed-by: https://github.com/alimpfard
@ -380,9 +380,7 @@ func_defined patch_internal || patch_internal() {
|
||||
fi
|
||||
}
|
||||
func_defined pre_configure || pre_configure() {
|
||||
if "$use_fresh_config_sub"; then
|
||||
ensure_new_config_sub
|
||||
fi
|
||||
:
|
||||
}
|
||||
func_defined configure || configure() {
|
||||
chmod +x "${workdir}"/"$configscript"
|
||||
@ -505,6 +503,9 @@ do_configure() {
|
||||
ensure_build
|
||||
if [ "$useconfigure" = "true" ]; then
|
||||
echo "Configuring $port..."
|
||||
if "$use_fresh_config_sub"; then
|
||||
ensure_new_config_sub
|
||||
fi
|
||||
pre_configure
|
||||
configure
|
||||
post_configure
|
||||
|
Loading…
Reference in New Issue
Block a user