1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 03:27:45 +00:00

Ports: Remove some config.sub patches and download a fresh one if needed

All of these patches did the same thing, which is already in upstream
config.sub.
With this change, we need only add `use_fresh_config_sub=true` to
the package.sh file.
Note that this is not done automatically in case the port has a modified
config.sub file.
This commit is contained in:
Ali Mohammad Pur 2022-01-08 17:02:29 +03:30 committed by Ali Mohammad Pur
parent 87630c5fd5
commit cdd6d68b2a
135 changed files with 128 additions and 816 deletions

View file

@ -4,7 +4,8 @@ version=1.8.0
files="https://distfiles.dereferenced.org/pkgconf/pkgconf-${version}.tar.xz pkgconf-${version}.tar.xz ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf"
auth_type=sha256
useconfigure=true
# FIXME: This looks suspiciously host-y...
use_fresh_config_sub=true
# FIXME: This looks suspiciously host-y...
configopts=("--prefix=/usr/local" "--with-pkg-config-dir=/usr/local/lib/pkgconfig")
post_install() {

View file

@ -1,12 +0,0 @@
--- pkgconf-1.7.3/config.sub.orig 2020-10-13 18:51:42.736398026 +1100
+++ pkgconf-1.7.3/config.sub 2020-10-13 18:51:45.953064825 +1100
@@ -1393,7 +1393,8 @@
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos* \
+ | -serenity*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)