Don't include encryption features of ed(1) when building for the

"rescue media" bundled with releases.

Suggested by:	ru
Approved by:	re (hrs)
This commit is contained in:
Ken Smith 2007-07-02 14:00:25 +00:00
parent b8709d23c5
commit 0c0146f019
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171154

View File

@ -7,11 +7,13 @@ SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
.if !defined(RELEASE_CRUNCH)
.if ${MK_OPENSSL} != "no"
CFLAGS+=-DDES
WARNS?= 2
DPADD= ${LIBCRYPTO}
LDADD= -lcrypto
.endif
.endif
.include <bsd.prog.mk>