From 75ff2046b85e48fda4d1ed2bdf3c781f00839d8c Mon Sep 17 00:00:00 2001 From: claudio Date: Sat, 3 Sep 2022 15:58:40 +0000 Subject: [PATCH] Remove -lncurses from LDADD. It is not used. Also add DPADD line. OK deraadt@ --- usr.bin/bgplg/bgplgsh/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/bgplg/bgplgsh/Makefile b/usr.bin/bgplg/bgplgsh/Makefile index eb7c0867553..dbf2f7da006 100644 --- a/usr.bin/bgplg/bgplgsh/Makefile +++ b/usr.bin/bgplg/bgplgsh/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2013/07/01 10:15:04 kettenis Exp $ +# $OpenBSD: Makefile,v 1.3 2022/09/03 15:58:40 claudio Exp $ .PATH: ${.CURDIR}/.. @@ -11,7 +11,8 @@ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+= -Wsign-compare CPPFLAGS+= -I${.CURDIR} CPPFLAGS+= -I${.CURDIR}/../../lib/libedit -LDADD= -ledit -lncurses +LDADD= -ledit +DPADD+= ${LIBEDIT} MAN= bgplgsh.8 BINDIR= /usr/bin -- 2.20.1