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
Notes: sideshowbarker 2024-07-17 20:30:54 +09:00

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