Remove -lncurses from LDADD. It is not used. Also add DPADD line.
authorclaudio <claudio@openbsd.org>
Sat, 3 Sep 2022 15:58:40 +0000 (15:58 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 3 Sep 2022 15:58:40 +0000 (15:58 +0000)
OK deraadt@

usr.bin/bgplg/bgplgsh/Makefile

index eb7c086..dbf2f7d 100644 (file)
@@ -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