Package: cfingerd
Severity: important
Tags: patch

Hi,

your package FTBFS on GNU/kFreeBSD since the OS isn't detected, so gmake
is tried instead of make. Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=cfengine2>.

Please find attached a patch to fix this. It then builds fine on
GNU/kFreeBSD, and might build fine on GNU/Hurd too.

Cheers,

-- 
Cyril Brulebois
--- cfingerd-1.4.3/perl/generic.pl      1999-08-31 02:46:46.000000000 +0200
+++ cfingerd-1.4.3/perl/generic.pl      2007-03-10 21:52:43.000000000 +0100
@@ -14,6 +14,11 @@
        chop($uname);
        $uname =~ tr/a-z/A-Z/;
 
+       # Tiny hack to make GNU/kFreeBSD and GNU/Hurd act as GNU/Linux
+       if (($uname eq 'GNU/KFREEBSD') || ($uname eq 'GNU')) {
+           $uname = 'LINUX';
+       }
+
        $ver = `uname -r`;
        chop($ver);
 

Reply via email to