Bug#498376: commons-daemon: FTBFS on GNU/kFreeBSD (needs apsupport.m4 update)

Petr Salinger Petr.Salinger at seznam.cz
Tue Sep 9 14:54:03 UTC 2008


Package: commons-daemon
Severity: important
Version: 1.0.2~svn20061127-9
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
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"






More information about the pkg-java-maintainers mailing list