aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 21:18:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 21:18:18 +0000
commitee5a34ecba51f02e3bf46b112e265abf976f39b6 (patch)
tree569e9832fa3d4775e3b8244ea1f09d4307418368 /libexec/telnetd
parent8794b8a783923e2335c30f700e3a9db146c64ee6 (diff)
Notes
Diffstat (limited to 'libexec/telnetd')
-rw-r--r--libexec/telnetd/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index 07de1970471e..7cb9bc972ce2 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -29,20 +29,17 @@ CFLAGS+= -I${TELNETDIR}/telnet
LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
-DPADD= ${LIBUTIL} ${LIBTERMCAPW} ${LIBTELNET}
-LDADD= -lutil -ltermcapw ${LIBTELNET}
+LIBADD= telnet util ncursesw
.if ${MK_OPENSSL} != "no"
SRCS+= authenc.c
CFLAGS+= -DAUTHENTICATION -DENCRYPTION
-DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM}
-LDADD+= -lmp -lcrypto -lcrypt ${MINUSLPAM}
+LIBADD+= mp crypto pam
.endif
.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
-DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR}
-LDADD+= -lkrb5 -lhx509 -lasn1 -lroken -lcom_err
+LIBADD+= krb5 roken
.endif
.include <bsd.prog.mk>