summaryrefslogtreecommitdiffstats
path: root/bin/ed
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index 5a7e37d..7c39e54 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -7,12 +7,12 @@ 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"
+.if !defined(RELEASE_CRUNCH) && \
+ ${MK_OPENSSL} != "no" && \
+ ${MK_ED_CRYPTO} != "no"
CFLAGS+=-DDES
DPADD= ${LIBCRYPTO}
LDADD= -lcrypto
.endif
-.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud