summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-07-04 21:18:57 +0000
committerbapt <bapt@FreeBSD.org>2016-07-04 21:18:57 +0000
commit88737253e2b67e4109f85f15f071809a99bb081c (patch)
tree34b1e63253d3c46a21e5f82fa0816e8a25cb197e /usr.sbin/ppp
parent1649e59d99523552537d82f847dd6c406473c496 (diff)
downloadFreeBSD-src-88737253e2b67e4109f85f15f071809a99bb081c.zip
FreeBSD-src-88737253e2b67e4109f85f15f071809a99bb081c.tar.gz
Fix build of ppp when WITHOUT_PAM is set
PR: 210658 Reported by: madpilot Tested by: madpilot Approved by: re@ (kib)
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index 1dcd3b5..540eb45 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -107,6 +107,7 @@ SRCS+= netgraph.c
.if defined(PPP_NO_PAM)
CFLAGS+=-DNOPAM
+LIBADD+= crypt
.else
LIBADD+= pam
.endif
OpenPOWER on IntegriCloud