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='bash'
VERSION='5.2.37'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/bash/bash-$VERSION.tar.gz#9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff"
DEPENDENCIES=('ncurses')
CONFIG_SUB=('support/config.sub')
CONFIGURE_OPTIONS=(
'--disable-nls'
'--without-bash-malloc'

View File

@@ -1,12 +0,0 @@
diff -ruN bash-5.2.37/support/config.sub bash-5.2.37-banan_os/support/config.sub
--- bash-5.2.37/support/config.sub 2022-01-11 21:38:29.000000000 +0200
+++ bash-5.2.37-banan_os/support/config.sub 2024-12-07 05:43:54.697086738 +0200
@@ -1754,7 +1754,7 @@
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
- | fiwix* )
+ | fiwix* | banan_os* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)