summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/Makefile
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-09-28 20:17:59 +0000
committerbrian <brian@FreeBSD.org>1997-09-28 20:17:59 +0000
commit4ffbb78e9722411f24debdc053d64a565512e764 (patch)
tree7524f434b19de4f2ed2bdaa24ef99c5743f162d6 /usr.sbin/ppp/Makefile
parentc462c9c658567cdce1c85ac38bdd669c006d559e (diff)
downloadFreeBSD-src-4ffbb78e9722411f24debdc053d64a565512e764.zip
FreeBSD-src-4ffbb78e9722411f24debdc053d64a565512e764.tar.gz
Test for the existence of ../../secure rather
than /usr/include/des.h before building with MSChap. support. Also allow -DNOCRYPT (as well as -DNOSECURE) as an override sbin/init example pointed out by: bde
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r--usr.sbin/ppp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index 977447f..65c781b 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.25 1997/09/25 00:52:31 brian Exp $
+# $Id: Makefile,v 1.26 1997/09/27 19:11:39 brian Exp $
PROG= ppp
SRCS= alias_cmd.c arp.c async.c auth.c ccp.c chap.c chat.c command.c \
@@ -13,7 +13,7 @@ BINMODE=4550
BINOWN= root
BINGRP= network
-.if exists(${DESTDIR}/usr/include/des.h) && !defined(NOSECURE)
+.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
CFLAGS+=-DHAVE_DES
SRCS+= chap_ms.c
LDADD+= -ldes
OpenPOWER on IntegriCloud