diff options
author | marcel <marcel@FreeBSD.org> | 2012-05-19 17:55:49 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2012-05-19 17:55:49 +0000 |
commit | c2132f894f2faf5bf926c486b5dc392749576312 (patch) | |
tree | 6df5466e98ac20d32fb56015ca12b3c1fd736685 /bin/ed | |
parent | c0a523b836a71a5b4fd9eb3ea74c72ad96a36d12 (diff) | |
download | FreeBSD-src-c2132f894f2faf5bf926c486b5dc392749576312.zip FreeBSD-src-c2132f894f2faf5bf926c486b5dc392749576312.tar.gz |
Add build option MK_ED_CRYPTO to control whether ed(1) is to have the
ability to encrypt/decrypt files. Embedded systems can typically have
OpenSSL, but not for ed(1) to use it.
Obtained from: Juniper Networks, Inc.
Diffstat (limited to 'bin/ed')
-rw-r--r-- | bin/ed/Makefile | 6 |
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> |