summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-10-29 20:32:19 +0000
committerru <ru@FreeBSD.org>2003-10-29 20:32:19 +0000
commitedb6523b57994eafd624cc470efad96c1ea66c4e (patch)
treedd522d2d86dea680c4957d1f885f63669ce0dee9 /usr.sbin/ppp/Makefile
parentee845c3e4fabbc2313ea34dc599c605360389344 (diff)
downloadFreeBSD-src-edb6523b57994eafd624cc470efad96c1ea66c4e.zip
FreeBSD-src-edb6523b57994eafd624cc470efad96c1ea66c4e.tar.gz
Basic PAM authentication support.
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r--usr.sbin/ppp/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index a0a09c8..aebeac8 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -15,6 +15,7 @@ NODES= true
NOI4B= true
NONAT= true
NOKLDLOAD= true
+NOPAM= true
NORADIUS= true
NOSUID= true
.endif
@@ -105,4 +106,11 @@ SRCS+= netgraph.c
.endif
.endif
+.if defined(NOPAM)
+CFLAGS+=-DNOPAM
+.else
+LDADD+= ${MINUSLPAM}
+DPADD+= ${LIBPAM}
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud