From a0a9d49d81aa9aebc0bda83ac065dc692d21aab7 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 11 Jun 2025 12:40:25 +0300 Subject: [PATCH] ports: Update toolchain triple and add post_configure post_configure is called after default configure. This can be used for port specific customization when using default configure function --- ports/install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ports/install.sh b/ports/install.sh index 9a9694e6..3dee2c5c 100755 --- a/ports/install.sh +++ b/ports/install.sh @@ -43,10 +43,16 @@ clean() { find . -mindepth 1 -maxdepth 1 -not -name 'patches' -not -name 'build.sh' -exec rm -rf {} + } +post_configure() { + : +} + configure() { - configure_options=("--host=$BANAN_ARCH-banan_os" '--prefix=/usr') + configure_options=("--host=$BANAN_ARCH-pc-banan_os" '--prefix=/usr') configure_options+=("${CONFIGURE_OPTIONS[@]}") ./configure "${configure_options[@]}" || exit 1 + + post_configure } build() {