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='libpng'
VERSION='1.6.48'
DOWNLOAD_URL="https://download.sourceforge.net/libpng/libpng-$VERSION.tar.gz#68f3d83a79d81dfcb0a439d62b411aa257bb4973d7c67cd1ff8bdf8d011538cd"
DEPENDENCIES=('zlib')
CONFIG_SUB=('config.sub')
post_install() {
# remove libtool files

View File

@@ -1,12 +0,0 @@
diff -ruN libpng-1.6.48/config.sub libpng-1.6.48-banan_os/config.sub
--- libpng-1.6.48/config.sub 2025-04-30 16:51:46.000000000 +0300
+++ libpng-1.6.48-banan_os/config.sub 2025-06-10 14:07:16.060041002 +0300
@@ -1768,7 +1768,7 @@
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
- | fiwix* | mlibc* | cos* | mbr* | ironclad* )
+ | fiwix* | mlibc* | cos* | mbr* | ironclad* | banan_os* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)