r10863: support GNU/kFreeBSD
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sat, 31 Dec 2005 18:12:13 +0000 (18:12 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sat, 31 Dec 2005 18:12:13 +0000 (18:12 +0000)
debian/changelog
debian/control
tests/make.sh

index 009ae4ef527036cf8b5d127abfaea8d9b3826519..e3b0b8265570a9357d28909654f68a1d7545d81b 100644 (file)
@@ -1,3 +1,9 @@
+cl-uffi (1.5.7-2) unstable; urgency=low
+
+  * Commit patch for GNU/kFreeBSD (closes: 345220)
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sat, 31 Dec 2005 11:11:36 -0700
+
 cl-uffi (1.5.7-1) unstable; urgency=low
 
   * New upstream
index de4f4be5be8dcd20c3f25b5c115009e63357038d..17c765ef8050f5238a61a8d742fbf0363ca4b3d0 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
 Build-Depends-Indep: debhelper (>= 4.0.0)
 Build-Depends: zlib1g-dev,debhelper (>= 4.0.0)
-Standards-Version: 3.6.2.1
+Standards-Version: 3.6.2.2
 
 Package: cl-uffi
 Architecture: all
index 05d363245f5d16227c188e5dd183b87de466b268..edb62c3ea3d1eb28dd4b13a9a65892024410e1d7 100644 (file)
@@ -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 @@ elif [ "$os_freebsd" ]; then
     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