[cl-debian] Bug#345220: cl-uffi: FTBFS on GNU/kFreeBSD
Aurelien Jarno
aurel32 at debian.org
Thu Dec 29 18:12:44 UTC 2005
Package: cl-uffi
Severity: important
Tags: patch
Hi,
cl-uffi fails to build on GNU/kFreeBSD due to missing check for this
platform. Please find attached a patch to fix that. It would be nice if
you could include it in the next upload cl-uffi.
Thanks in advance,
Aurelien
-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
-------------- next part --------------
Status: in BTS
Author: aurel32
--- cl-uffi-1.5.7.orig/tests/make.sh
+++ cl-uffi-1.5.7/tests/make.sh
@@ -3,6 +3,7 @@
case "`uname`" in
Linux) os_linux=1 ;;
FreeBSD) os_freebsd=1 ;;
+ GNU/kFreeBSD) os_gnukfreebsd=1;;
Darwin) os_darwin=1 ;;
SunOS) os_sunos=1 ;;
AIX) os_aix=1 ;;
@@ -18,6 +19,10 @@
gcc -fPIC -DPIC -c $SOURCE -o $OBJECT
gcc -shared $OBJECT -o $SHARED_LIB
+elif [ "$os_gnukfreebsd" ]; then
+ gcc -fPIC -DPIC -c $SOURCE -o $OBJECT
+ gcc -shared $OBJECT -o $SHARED_LIB
+
elif [ "$os_darwin" ]; then
cc -dynamic -c $SOURCE -o $OBJECT
ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress -o $BASE.dylib $OBJECT
More information about the Cl-debian
mailing list