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='mpfr'
VERSION='4.2.2'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/mpfr/mpfr-$VERSION.tar.gz#826cbb24610bd193f36fde172233fb8c009f3f5c2ad99f644d0dea2e16a20e42"
DEPENDENCIES=('gmp')
CONFIG_SUB=('config.sub')
CONFIGURE_OPTIONS=(
"--target=$BANAN_TOOLCHAIN_TRIPLE"
'--with-sysroot=/'

View File

@@ -1,12 +0,0 @@
diff -ruN mpfr-4.2.1/config.sub mpfr-4.2.1-banan_os/config.sub
--- mpfr-4.2.1/config.sub 2023-08-22 10:47:14.000000000 +0300
+++ mpfr-4.2.1-banan_os/config.sub 2024-08-07 22:48:27.798804026 +0300
@@ -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*)