From 7b0d50fdfe581aea83657b48bddcc7b4baee754e Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Tue, 20 Jul 1993 22:57:03 +0000 Subject: [PATCH] Libcrypt upgrade --- bin/ed/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/ed/Makefile b/bin/ed/Makefile index a48b0d20fd85..77020043e89a 100644 --- a/bin/ed/Makefile +++ b/bin/ed/Makefile @@ -1,7 +1,14 @@ PROG= ed -CFLAGS+=-I${.CURDIR} -DVI_BANG -DDES -DGNU_REGEX -DHAVE_STRING_H=1 +CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX -DHAVE_STRING_H=1 SRCS= ed.c re.c buf.c cbc.c regex.c LINKS= ${BINDIR}/ed ${BINDIR}/red MLINKS= ed.1 red.1 +.if exists(/usr/lib/libcrypt.a) +CFLAGS+=-DDES +DPADD+= ${LIBCRYPT} +LDADD+= -lcrypt +.endif + + .include