Package: commons-daemon
Severity: important
Version: 1.0.2~svn20061127-9
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD,
kernel from FreeBSD with glibc based userspace.

It needs entry in apsupport.m4, see bellow.

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance

                        Petr

--- commons-daemon-1.0.2~svn20061127/src/native/unix/support/apsupport.m4
+++ commons-daemon-1.0.2~svn20061127/src/native/unix/support/apsupport.m4
@@ -37,6 +37,11 @@
     supported_os="linux"
     LIBS="$LIBS -ldl -lpthread"
     ;;
+  kfreebsd*-gnu)
+    CFLAGS="$CFLAGS -DOS_BSD -DDSO_DLFCN -pthread"
+    supported_os="kfreebsd-gnu"
+    LIBS="$LIBS -ldl -lpthread"
+    ;;
   cygwin)
     CFLAGS="$CFLAGS -DOS_CYGWIN -DDSO_DLFCN -DNO_SETSID"
     supported_os="win32"




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to