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
This commit is contained in:
Marius Strobl 2007-12-09 00:14:27 +00:00
parent d2391ac491
commit ea7f7bdef3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174469

View File

@ -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