From ea7f7bdef39f0d728362b24151d1e765a3e7b6a7 Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sun, 9 Dec 2007 00:14:27 +0000 Subject: [PATCH] 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 --- bin/ed/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ed/Makefile b/bin/ed/Makefile index e2deec6572bd..32e2dfa721de 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