Package: xml-security-c
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> checking for direct.h... no
> checking build system type... i486-pc-kfreebsd-gnu
> checking host system type... i486-pc-kfreebsd-gnu
> configure: error: Unknown Platform.  Aborting
> make: *** [configure-stamp] Error 1

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=xml-security-c>.

Please find attached a patch to make the OS detection work for
GNU/kFreeBSD (and possibly all GNU/k*BSD, and GNU/Hurd).

Cheers,

-- 
Cyril Brulebois
Index: x/xml-security-c-1.2.1/src/configure.ac
===================================================================
--- x.orig/xml-security-c-1.2.1/src/configure.ac        2007-03-10 
01:23:30.000000000 +0100
+++ x/xml-security-c-1.2.1/src/configure.ac     2007-03-10 01:23:39.000000000 
+0100
@@ -224,7 +224,7 @@
 
                                                ;;
 
-        *-*-linux*)     platform=LINUX ;
+        *-*-linux*|*-*-k*bsd*-gnu|*-*-gnu*)     platform=LINUX ;
                                                shlibsuffix=.so
                                                
lib_name="lib${PACKAGE_TARNAME}.so.${package_lib_version}"
                                            
lib_major_name="lib${PACKAGE_TARNAME}.so.${package_lib_major}"

Reply via email to