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
This commit is contained in:
Devin Teske 2014-11-05 02:36:28 +00:00
parent a99500a912
commit e34274ae37
2 changed files with 6 additions and 4 deletions

View File

@ -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>

View File

@ -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