summaryrefslogtreecommitdiff
path: root/dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch
blob: 204eb3ef7dcd5996c7914d176836c90955993d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Strip versioning components from *HOST for Darwin and Solaris

--- a/m4/fptools.m4
+++ b/m4/fptools.m4
@@ -1358,6 +1358,12 @@
   freebsd*)
     $2="freebsd"
     ;;
+  darwin*)
+    $2="darwin"
+	;;
+  solaris2.*)
+    $2="solaris2"
+	;;
   *)
     echo "Unknown OS $1"
     exit 1