From d74efe91053268bcf47fe1a228cdc495327d3c82 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Thu, 29 Apr 1999 17:56:28 +0000 Subject: 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. --- usr.sbin/pppd/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'usr.sbin/pppd') diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile index 323cc0dc45ad..f6e5858dd51d 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 -- cgit v1.3