summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-04-29 17:56:28 +0000
committerjdp <jdp@FreeBSD.org>1999-04-29 17:56:28 +0000
commit9b7add1cb84e1329fdea5d5fbc3d202c9e55cbfb (patch)
treea0a0e97f0e3ead73493f22dcae5b18b396e3c6fd /usr.sbin/pppd
parent7d47725500cdad61cb85ec5b9274d772e56159e6 (diff)
downloadFreeBSD-src-9b7add1cb84e1329fdea5d5fbc3d202c9e55cbfb.zip
FreeBSD-src-9b7add1cb84e1329fdea5d5fbc3d202c9e55cbfb.tar.gz
pppd/Makefile:
Enable MS-CHAP support. release/Makefile: Build a separate NOCRYPT version of pppd, to keep This Great Nation's top-secret cryptographic tools out of the filthy hands of those evil furriners.
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile
index 323cc0d..f6e5858 100644
--- a/usr.sbin/pppd/Makefile
+++ b/usr.sbin/pppd/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.11 1998/09/19 22:42:11 obrien Exp $
+# $Id: Makefile,v 1.12 1998/10/11 19:40:38 jdp Exp $
CFLAGS+= -DHAVE_PATHS_H
@@ -28,9 +28,12 @@ LDADD+= -lpcap
DPADD+= ${LIBPCAP}
# MS-CHAP support. Requires the DES library.
-#CFLAGS+=-DCHAPMS
-#SRCS+= chap_ms.c
-#LDADD+= -ldes
-#DPADD+= ${LIBDES}
+.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
+DISTRIBUTION=des
+CFLAGS+=-DCHAPMS
+SRCS+= chap_ms.c
+LDADD+= -ldes
+DPADD+= ${LIBDES}
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud