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:
parent
d2391ac491
commit
ea7f7bdef3
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
PROG= ed
|
PROG= ed
|
||||||
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
||||||
|
WARNS?= 2
|
||||||
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
||||||
MLINKS= ed.1 red.1
|
MLINKS= ed.1 red.1
|
||||||
|
|
||||||
.if !defined(RELEASE_CRUNCH)
|
.if !defined(RELEASE_CRUNCH)
|
||||||
.if ${MK_OPENSSL} != "no"
|
.if ${MK_OPENSSL} != "no"
|
||||||
CFLAGS+=-DDES
|
CFLAGS+=-DDES
|
||||||
WARNS?= 2
|
|
||||||
DPADD= ${LIBCRYPTO}
|
DPADD= ${LIBCRYPTO}
|
||||||
LDADD= -lcrypto
|
LDADD= -lcrypto
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user