summaryrefslogtreecommitdiffstats
path: root/bin/ed/Makefile
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2007-12-09 00:14:27 +0000
committermarius <marius@FreeBSD.org>2007-12-09 00:14:27 +0000
commit38cb2e14c1ea7ca2b6bd94f9a4a12b6480bf9d14 (patch)
treed1612f8cbb191f3fd16fa744f4d576ec64963748 /bin/ed/Makefile
parent9b70a6ae1f6f611b3b410ef2a6960fe9f50f5072 (diff)
downloadFreeBSD-src-38cb2e14c1ea7ca2b6bd94f9a4a12b6480bf9d14.zip
FreeBSD-src-38cb2e14c1ea7ca2b6bd94f9a4a12b6480bf9d14.tar.gz
Move WARNS as ed(1) also is only WARNS = 2 clean in the !DES case.
This fixes its compilation if MK_OPENSSL == no and also obsoletes release/Makefile rev. 1.192. The latter isn't reverted though as support for the fixit floppy and the rest of the boot floppies is scheduled to be deorbited anyway. Discussed with: kensmith
Diffstat (limited to 'bin/ed/Makefile')
-rw-r--r--bin/ed/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index e2deec6..32e2dfa 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -4,13 +4,13 @@
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
+WARNS?= 2
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
OpenPOWER on IntegriCloud