summaryrefslogtreecommitdiff
path: root/Ports/m4
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-01-08 17:02:29 +0330
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-01-16 10:32:50 +0330
commitcdd6d68b2ab56554e5ebcb61f0977534153530f1 (patch)
treea2b3363a79e143bc9b251349c8f72c351add8a71 /Ports/m4
parent87630c5fd58a3f292f13c06d5a48a7e7835a7aa1 (diff)
downloadserenity-cdd6d68b2ab56554e5ebcb61f0977534153530f1.zip
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.
Diffstat (limited to 'Ports/m4')
-rwxr-xr-xPorts/m4/package.sh1
-rw-r--r--Ports/m4/patches/configure.patch14
2 files changed, 1 insertions, 14 deletions
diff --git a/Ports/m4/package.sh b/Ports/m4/package.sh
index 33dd797e13..1d114b849b 100755
--- a/Ports/m4/package.sh
+++ b/Ports/m4/package.sh
@@ -2,6 +2,7 @@
port=m4
version=1.4.9
useconfigure=true
+use_fresh_config_sub=true
files="https://ftpmirror.gnu.org/gnu/m4/m4-${version}.tar.gz m4-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/m4/m4-${version}.tar.gz.sig m4-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
diff --git a/Ports/m4/patches/configure.patch b/Ports/m4/patches/configure.patch
deleted file mode 100644
index d99a9c9af0..0000000000
--- a/Ports/m4/patches/configure.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/config.sub b/config.sub
-index 5defff6..040fb4b 100755
---- a/config.sub
-+++ b/config.sub
-@@ -1222,7 +1222,8 @@ case $os in
- | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
-+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* \
-+ | -serenity*)
- # Remember, each alternative MUST END IN *, to match a version number.
- ;;
- -qnx*)