1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 08:57:47 +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

@ -2,6 +2,7 @@
port=libarchive
version=3.5.2
useconfigure=true
use_fresh_config_sub=true
configopts=("--without-xml2")
files="https://libarchive.org/downloads/libarchive-${version}.tar.gz libarchive-${version}.tar.gz
https://libarchive.org/downloads/libarchive-${version}.tar.gz.asc libarchive-${version}.tar.gz.asc"

View file

@ -1,13 +0,0 @@
diff --git a/build/autoconf/config.sub.orig b/build/autoconf/config.sub
index 1d8e98bce..e1d397a3c 100755
--- a/build/autoconf/config.sub.orig
+++ b/build/autoconf/config.sub
@@ -1390,7 +1390,7 @@ case $os in
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
- | -midnightbsd*)
+ | -midnightbsd* | -serenity*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)