summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-05-09 14:23:54 +0000
committerbde <bde@FreeBSD.org>2001-05-09 14:23:54 +0000
commit5e17943e7b99d0ea41901dc2f0c509cfff89976a (patch)
tree44b273edf0e7111e644d2565ad41ddf346cb3817 /secure
parent1029023aa3478c174b906ddc8beb7f5f30e56fe0 (diff)
downloadFreeBSD-src-5e17943e7b99d0ea41901dc2f0c509cfff89976a.zip
FreeBSD-src-5e17943e7b99d0ea41901dc2f0c509cfff89976a.tar.gz
Fixed world breakage in previous commit. -lpam must never be used
directly (except in the definition of MINUSLPAM in bsd.libnames.mk) since it doesn't give all the lbraries necessary for static linkage. Fixed new and old bugs in DPADD. ${LIBPAM} was missing, and the library order was different from that in LDADD so `make checkdpadd' reported a non-bug.
Diffstat (limited to 'secure')
-rw-r--r--secure/libexec/telnetd/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/secure/libexec/telnetd/Makefile b/secure/libexec/telnetd/Makefile
index 47b1841..498c13f 100644
--- a/secure/libexec/telnetd/Makefile
+++ b/secure/libexec/telnetd/Makefile
@@ -13,9 +13,10 @@ CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c authenc.c
-DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} ${LIBMP} \
- ${LIBCRYPT}
-LDADD= -lutil -ltermcap ${LIBTELNET} -lcrypto -lcrypt -lmp -lpam
+DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} \
+ ${LIBCRYPT} ${LIBMP} ${LIBPAM}
+LDADD= -lutil -ltermcap ${LIBTELNET} -lcrypto \
+ -lcrypt -lmp ${MINUSLPAM}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud