diff options
Diffstat (limited to 'dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch')
-rw-r--r-- | dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch b/dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch new file mode 100644 index 000000000000..204eb3ef7dcd --- /dev/null +++ b/dev-lang/ghc/files/ghc-9.0.2-CHOST-prefix.patch @@ -0,0 +1,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 |