Package: swi-prolog
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD due to an insufficient OS
detection. Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=swi-prolog>.

Please find attached a tiny patch to fix this (I also checked the
content of the package afterwards, every file seems to be there). You
might want to add a test case for *-gnu*, which should help GNU/Hurd too
(although I'm not able to check this).

Cheers,

-- 
Cyril Brulebois
--- swi-prolog-5.6.14/packages/jasmine/configure.in     2007-03-09 
20:19:38.191006000 +0100
+++ swi-prolog-5.6.14/packages/jasmine/configure.in     2007-03-09 
20:21:20.000000000 +0100
@@ -70,7 +70,7 @@
     *sunos*)                   LD=ld
                                LDSOFLAGS="-assert nodefinitions"
                                ;;
-    *linux*)                    ;;
+    *linux*|*kfreebsd*)         ;;
     *irix*)                    ;;
     *osf*)                     if test -z "$GCC"; then
                                  LD=ld
--- swi-prolog-5.6.14/packages/xpce/src/configure.in    2007-03-09 
20:19:37.568102000 +0100
+++ swi-prolog-5.6.14/packages/xpce/src/configure.in    2007-03-09 
20:20:44.000000000 +0100
@@ -231,7 +231,7 @@
 
 if test -z "$MAKE_SHARED_OBJECT"; then
   case "$OS" in
-    *solaris* | *sunos* | *linux* | *irix* | *osf* | *aix*)
+    *solaris* | *sunos* | *linux* | *irix* | *osf* | *aix* | *kfreebsd*)
       MAKE_SHARED_OBJECT=yes;;
   esac
 fi
@@ -377,7 +377,7 @@
            CMFLAGS="$CMFLAGS -KPIC"
        fi
        ;;
-    *linux*)
+    *linux*|*kfreebsd*)
        CXXLIBHACK="-lc -Wl,-Bstatic"
        ;;
     *irix*)

Reply via email to