diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-01-08 17:02:29 +0330 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-01-16 10:32:50 +0330 |
commit | cdd6d68b2ab56554e5ebcb61f0977534153530f1 (patch) | |
tree | a2b3363a79e143bc9b251349c8f72c351add8a71 /Ports/yasm | |
parent | 87630c5fd58a3f292f13c06d5a48a7e7835a7aa1 (diff) | |
download | serenity-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/yasm')
-rwxr-xr-x | Ports/yasm/package.sh | 1 | ||||
-rw-r--r-- | Ports/yasm/patches/config.sub.patch | 29 |
2 files changed, 1 insertions, 29 deletions
diff --git a/Ports/yasm/package.sh b/Ports/yasm/package.sh index 6839fff858..db7b2573da 100755 --- a/Ports/yasm/package.sh +++ b/Ports/yasm/package.sh @@ -4,4 +4,5 @@ version=1.3.0 files="https://www.tortall.net/projects/yasm/releases/yasm-${version}.tar.gz yasm-${version}.tar.gz 3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f" auth_type="sha256" useconfigure=true +use_fresh_config_sub=true makeopts=() diff --git a/Ports/yasm/patches/config.sub.patch b/Ports/yasm/patches/config.sub.patch deleted file mode 100644 index 51f79db2a6..0000000000 --- a/Ports/yasm/patches/config.sub.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- yasm-1.3.0/config/original-config.sub 2021-04-13 19:32:43.345360128 +0100 -+++ yasm-1.3.0/config/config.sub 2021-04-13 19:33:00.992081544 +0100 -@@ -156,7 +156,7 @@ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -- -apple | -axis | -knuth | -cray | -microblaze) -+ -apple | -axis | -knuth | -cray | -microblaze | serenity*) - os= - basic_machine=$1 - ;; -@@ -1368,7 +1368,7 @@ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ -- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) -+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | serenity*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) -@@ -1505,6 +1505,8 @@ - ;; - -none) - ;; -+ -serenity*) -+ ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` |