Package: pam-dbus
Version: 0.2-2
Severity: normal
User: [email protected]
Usertags: hurd
Tags: patch
Hi,
Currently pam-dbus fails to build on Debian GNU/Hurd. Actually, it likely
fails on any non-linux
arch due to the setting of PAM_MODDIR and where debian/rules looks for the .so
files.
Attached is a patch for building on Hurd. It would likely also work for
kfreebsd by adding a
similar check for *-*-kfreebsd*.
Thank you,
Barry deFreese
--- orig/pam-dbus-0.2/configure 2008-10-30 23:13:34.000000000 +0000
+++ pam-dbus-0.2/configure 2012-06-01 21:36:41.000000000 +0000
@@ -20380,6 +20380,9 @@
*-*-linux*)
PAM_MODDIR="/lib/security"
;;
+ *-*-gnu*)
+ PAM_MODDIR="/lib/security"
+ ;;
*)
PAM_MODDIR="/usr/lib"
;;