1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-05 20:54:44 +00:00

Ports: Relocate use_fresh_config_sub check to do_configure()

This commit is contained in:
Fragstiller 2022-01-21 14:53:13 +03:00 committed by Ali Mohammad Pur
parent 9cd93944b8
commit 673e81b90b

View File

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