summaryrefslogtreecommitdiffstats
path: root/lib/libpam
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2012-01-18 18:26:56 +0000
committerpeter <peter@FreeBSD.org>2012-01-18 18:26:56 +0000
commite5fa065e08759b23de51ef39c5f2bb495566e52c (patch)
tree72ef6da457136f9113657f5aafb12d093d47282a /lib/libpam
parent3ec7d904752caa8e0c0ae91d8c3ef33cdbcf23ec (diff)
downloadFreeBSD-src-e5fa065e08759b23de51ef39c5f2bb495566e52c.zip
FreeBSD-src-e5fa065e08759b23de51ef39c5f2bb495566e52c.tar.gz
Rev 228065 (change bsd.own.mk -> bsd.init.mk) broke pam_unix.so by causing
the LDADD/DPADD to lose the -lpam, and causing openpam_dynamic() to fail due to "openpam_get_options" being undefined. This would cause obscure console log messages like: openpam_dynamic(): No error: 0 openpam_load_module(): no pam_unix.so found and other helpful messages which are no help in diagnosing the problem. Fortunately this change was not mfc'ed to 9.x, it isn't broken there.
Diffstat (limited to 'lib/libpam')
-rw-r--r--lib/libpam/modules/pam_unix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpam/modules/pam_unix/Makefile b/lib/libpam/modules/pam_unix/Makefile
index ce66768..4d28cfd 100644
--- a/lib/libpam/modules/pam_unix/Makefile
+++ b/lib/libpam/modules/pam_unix/Makefile
@@ -40,8 +40,8 @@ LIB= pam_unix
SRCS= pam_unix.c
MAN= pam_unix.8
-DPADD= ${LIBUTIL} ${LIBCRYPT}
-LDADD= -lutil -lcrypt
+DPADD+= ${LIBUTIL} ${LIBCRYPT}
+LDADD+= -lutil -lcrypt
.if ${MK_NIS} != "no"
CFLAGS+= -DYP
OpenPOWER on IntegriCloud