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

This implifies pathing in make/displayed output

MFC after:    3 weeks
Sponsored by: Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-01-20 04:35:36 +00:00
parent b7debe1d3f
commit ff9aa684f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312482

View file

@ -3,7 +3,7 @@
.include <src.opts.mk>
PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsm
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.