ports: Update to new config.sub syntax

There is no longer need to manually patch config.sub files!
This commit is contained in:
2025-07-22 10:28:11 +03:00
parent 6971f76bd3
commit bc66e181a5
42 changed files with 15 additions and 181 deletions

View File

@@ -4,6 +4,7 @@ NAME='mpc'
VERSION='1.3.1'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/mpc/mpc-$VERSION.tar.gz#ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8"
DEPENDENCIES=('gmp' 'mpfr')
CONFIG_SUB=('build-aux/config.sub')
CONFIGURE_OPTIONS=(
"--target=$BANAN_TOOLCHAIN_TRIPLE"
"--with-sysroot=$BANAN_SYSROOT"

View File

@@ -1,13 +0,0 @@
diff -ruN mpc-1.3.1/build-aux/config.sub mpc-1.3.1-banan_os/build-aux/config.sub
--- mpc-1.3.1/build-aux/config.sub 2022-12-08 14:23:21.000000000 +0200
+++ mpc-1.3.1-banan_os/build-aux/config.sub 2024-08-07 22:52:40.072912471 +0300
@@ -1748,7 +1748,8 @@
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
- | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
+ | banan_os* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)