Package: pam-pgsql
Version: 0.7-1
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs updated configure.ac/configure.
Please apply patch bellow and regenerate configure by autoconf.
It would also be nice if you can ask upstream
to include this change.
Thanks in advance
Petr
--- pam-pgsql-0.7.orig/configure.ac
+++ pam-pgsql-0.7/configure.ac
@@ -90,15 +90,17 @@
AC_SUBST(PGSQL_LIB)
-if test "`uname`" = "Linux" >/dev/null 2>/dev/null; then
- # Debian needs this
- PAM_MISC_LD="-lpam_misc"
- INSTALLPAM="/lib/security/"
- AC_DEFINE([LINUX], [1], [It is a linux machine])
-else
- PAM_MISC_LD=""
- INSTALLPAM="/usr/lib/"
-fi
+case $host_os in
+ # Debian needs this
+ linux-*|kfreebsd*-gnu*)
+ PAM_MISC_LD="-lpam_misc"
+ INSTALLPAM="/lib/security/"
+ ;;
+ *)
+ PAM_MISC_LD=""
+ INSTALLPAM="/usr/lib/"
+ ;;
+esac
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]