Source: ghc
Version: 8.4.3+dfsg1-4
Severity: important
Tags: ftbfs, patch
User: debian-k...@lists.debian.org
Usertags: kfreebsd
Hello,
Currently ghc FTBFS on GNU/kFreeBSD since 8.2.2-6. Attached is a patch
to fix this by adding kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4.
Thanks!
Index: ghc-8.4.3+dfsg1/aclocal.m4
===================================================================
--- ghc-8.4.3+dfsg1.orig/aclocal.m4
+++ ghc-8.4.3+dfsg1/aclocal.m4
@@ -1973,7 +1973,7 @@ AC_DEFUN([GHC_CONVERT_OS],[
$3="openbsd"
;;
# As far as I'm aware, none of these have relevant variants
- freebsd|netbsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|mingw32|darwin|gnu|nextstep2|nextstep3|sunos4|ultrix|haiku)
+ freebsd|netbsd|dragonfly|hpux|linuxaout|freebsd2|mingw32|darwin|gnu|nextstep2|nextstep3|sunos4|ultrix|haiku)
$3="$1"
;;
aix*) # e.g. powerpc-ibm-aix7.1.3.0
@@ -1990,6 +1990,9 @@ AC_DEFUN([GHC_CONVERT_OS],[
# i686-gentoo-freebsd8.2
$3="freebsd"
;;
+ kfreebsd*)
+ $3="kfreebsdgnu"
+ ;;
nto-qnx*)
$3="nto-qnx"
;;