Package: cfengine2
Severity: important
Version: 2.2.10-1
Tags: patch
User: [email protected]
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs a "slight porting", please find patch bellow.
It would also be nice if you can ask upstream
to include this change.
Thanks in advance
Petr
--- configure.ac~
+++ configure.ac
@@ -645,6 +645,10 @@
AC_DEFINE(LINUX)
AC_CHECK_LIB(nss_nis, yp_get_default_domain)
;;
+ kfreebsd*-gnu)
+ AC_DEFINE(FREEBSD)
+ AC_CHECK_LIB(nss_nis, yp_get_default_domain)
+ ;;
freebsd*|dragonfly*)
AC_DEFINE(FREEBSD)
CFLAGS="$CFLAGS -pthread -D_THREAD_SAFE -DBUILDTIN_GCC_THREAD"
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]