--- system-tools-backends-2.10.0.orig/Utils/Platform.pm
+++ system-tools-backends-2.10.0/Utils/Platform.pm
@@ -33,6 +33,7 @@
 
 my $PLATFORM_INFO = {
   "debian"          => [ "Debian GNU/Linux" ],
+  "debian-kfreebsd" => [ "Debian GNU/kFreeBSD" ],
   "redhat-5.2"      => [ "Red Hat Linux", "5.2", "Apollo" ],
   "redhat-6.0"      => [ "Red Hat Linux", "6.0", "Hedwig" ],
   "redhat-6.1"      => [ "Red Hat Linux", "6.1", "Cartman" ],
@@ -143,6 +144,7 @@
      "vine-3.1"         => "vine-3.0",
      "vlos-1.2"         => "gentoo",
      "nexenta-1.0"      => "solaris-2.11",
+     "debian-kfreebsd"  => "debian"
      );
 
   return $metamap{$distro} if ($metamap{$distro});
@@ -377,10 +379,12 @@
                   [ \&check_distro_file, "/etc/yellowdog-release", "yellowdog", "^Yellow Dog Linux release (\\S+)" ],
                  ],
     "FreeBSD" => [[ \&check_freebsd ]],
-    "SunOS"   => [[ \&check_solaris ]]
+    "SunOS"   => [[ \&check_solaris ]],
+    "GNU/kFreeBSD" => [[ \&check_file_exists, "/etc/debian_version", "debian" ]],
   );
 
   $distro = $Utils::Backend::tool{"system"};
+
   $checks = $platform_checks{$distro};
 
   foreach $check (@$checks) {
