Author: aurel32
Status: in BTS
Note: Needs config.{guess,sub} update

--- alex-2.0.1.orig/configure.ac
+++ alex-2.0.1/configure.ac
@@ -188,6 +188,15 @@
         HostVendor_CPP='unknown'
         HostOS_CPP='linux'
         ;;
+i[3456]86-*-kfreebsd*-gnu)
+	HostPlatform=i386-unknown-kfreebsdgnu # hack again
+	TargetPlatform=i386-unknown-kfreebsdgnu
+	BuildPlatform=i386-unknown-kfreebsdgnu
+	HostPlatform_CPP='i386_unknown_kfreebsdgnu'
+	HostArch_CPP='i386'
+	HostVendor_CPP='unknown'
+	HostOS_CPP='kfreebsdgnu'
+	;;
 i[[3456]]86-*-freebsd[[3-9]]*) # FreeBSD 3.0+ uses ELF
 	HostPlatform=i386-unknown-freebsd # hack again
 	TargetPlatform=i386-unknown-freebsd
--- alex-2.0.1.orig/configure
+++ alex-2.0.1/configure
@@ -1577,6 +1577,15 @@
         HostVendor_CPP='unknown'
         HostOS_CPP='linux'
         ;;
+i[3456]86-*-kfreebsd*-gnu)
+	HostPlatform=i386-unknown-kfreebsdgnu # hack again
+	TargetPlatform=i386-unknown-kfreebsdgnu
+	BuildPlatform=i386-unknown-kfreebsdgnu
+	HostPlatform_CPP='i386_unknown_kfreebsdgnu'
+	HostArch_CPP='i386'
+	HostVendor_CPP='unknown'
+	HostOS_CPP='kfreebsdgnu'
+	;;
 i[3456]86-*-freebsd[3-9]*) # FreeBSD 3.0+ uses ELF
 	HostPlatform=i386-unknown-freebsd # hack again
 	TargetPlatform=i386-unknown-freebsd
