ports: Add pre_configure to build system

We have post_configure, so why not this :)
This commit is contained in:
Bananymous 2025-06-28 17:23:41 +03:00
parent db571b4859
commit fa4095ba95
1 changed files with 6 additions and 0 deletions

View File

@ -50,11 +50,17 @@ clean() {
find . -mindepth 1 -maxdepth 1 -not -name 'patches' -not -name 'build.sh' -exec rm -rf {} +
}
pre_configure() {
:
}
post_configure() {
:
}
configure() {
pre_configure
configure_options=("--host=$BANAN_ARCH-pc-banan_os" '--prefix=/usr')
configure_options+=("${CONFIGURE_OPTIONS[@]}")
./configure "${configure_options[@]}" || exit 1