summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2014-11-05 02:36:28 +0000
committerdteske <dteske@FreeBSD.org>2014-11-05 02:36:28 +0000
commitcc601efb69cd1eeeba2d0d02e50c0a0a4ba533f6 (patch)
treeb992a18542293c9a23ea0085e7f7a92fff61f132
parentdd190ce5d4089c9dd705b3c0c42c19bb3ec539ce (diff)
downloadFreeBSD-src-cc601efb69cd1eeeba2d0d02e50c0a0a4ba533f6.zip
FreeBSD-src-cc601efb69cd1eeeba2d0d02e50c0a0a4ba533f6.tar.gz
Fix buildworld by adding DPADD= to libdpv [dpv(3)] Makefile
NB: Should also address `make -j' building Remove "+" from "+=" in assignments to DPADD/LDADD while here. NB: Also move CFLAGS for style measure. Reviewed by: shurd MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120 274121
-rw-r--r--lib/libdpv/Makefile6
-rw-r--r--usr.bin/dpv/Makefile4
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libdpv/Makefile b/lib/libdpv/Makefile
index 3ceea1b..24fb378 100644
--- a/lib/libdpv/Makefile
+++ b/lib/libdpv/Makefile
@@ -6,11 +6,13 @@ INCS= dpv.h
MAN= dpv.3
MLINKS= dpv.3 dpv_free.3
-CFLAGS+= -I${.CURDIR}
-LDFLAGS+= -ldialog -lfigpar -lncurses -lutil
+DPADD= ${LIBFIGPAR}
+LDADD= -ldialog -lfigpar -lncurses -lutil
SRCS= dialog_util.c dialogrc.c dprompt.c dpv.c status.c util.c
+CFLAGS+= -I${.CURDIR}
+
WARNS?= 6
.include <bsd.lib.mk>
diff --git a/usr.bin/dpv/Makefile b/usr.bin/dpv/Makefile
index 0d2217d..c5b8348 100644
--- a/usr.bin/dpv/Makefile
+++ b/usr.bin/dpv/Makefile
@@ -4,8 +4,8 @@ PROG= dpv
CFLAGS+= -I${.CURDIR}
-DPADD+= ${LIBDPV} ${LIBDIALOG} ${LIBFIGPAR} ${LIBNCURSES} ${LIBUTIL}
-LDADD+= -ldpv -ldialog -lfigpar -lncurses -lutil
+DPADD= ${LIBDPV} ${LIBDIALOG} ${LIBFIGPAR} ${LIBNCURSES} ${LIBUTIL}
+LDADD= -ldpv -ldialog -lfigpar -lncurses -lutil
WARNS?= 6
OpenPOWER on IntegriCloud