mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 15:09:40 +00:00
Ports: Relocate use_fresh_config_sub
check to do_configure()
This commit is contained in:
parent
9cd93944b8
commit
673e81b90b
|
@ -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 a new issue