Skip to content

Commit

Permalink
Ports: patch config.sub instead of the configure script in the yasm port
Browse files Browse the repository at this point in the history
  • Loading branch information
06needhamt authored and awesomekling committed Apr 13, 2021
1 parent a959ccc commit 9b75b1b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 30 deletions.
29 changes: 29 additions & 0 deletions Ports/yasm/patches/config.sub.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- 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/[^-]*-//'`
30 changes: 0 additions & 30 deletions Ports/yasm/patches/patch-configure.patch

This file was deleted.

0 comments on commit 9b75b1b

Please sign in to comment.