Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones

This simplifies pathing in make/displayed output.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
This commit is contained in:
ngie 2017-03-01 04:23:53 +00:00
parent feb612a59b
commit 07797a0e68

View File

@ -9,7 +9,7 @@ CFLAGS+= -I.
.if ${MK_DIALOG} != no
WARNS?= 3
CFLAGS+= -I${.CURDIR}/../../contrib/dialog -DHAVE_DIALOG
CFLAGS+= -I${SRCTOP}/contrib/dialog -DHAVE_DIALOG
LIBADD= dialog ncursesw
.endif