summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-03-07 02:02:23 +0000
committerngie <ngie@FreeBSD.org>2017-03-07 02:02:23 +0000
commitb61b3a794b6e6552db10ee2f456b0ea28cc6c634 (patch)
tree8df1fb31b1396b5f7332212b55fb3fd58ec777ab
parent1d62af743f25edd20e6851f30758f17b929f12b5 (diff)
downloadFreeBSD-src-b61b3a794b6e6552db10ee2f456b0ea28cc6c634.zip
FreeBSD-src-b61b3a794b6e6552db10ee2f456b0ea28cc6c634.tar.gz
MFC r314226:
Use SRCTOP instead of .CURDIR relative paths with ".." This simplifies pathing in make/displayed output
-rw-r--r--usr.sbin/syslogd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/Makefile b/usr.sbin/syslogd/Makefile
index 716efbe..d116e3c 100644
--- a/usr.sbin/syslogd/Makefile
+++ b/usr.sbin/syslogd/Makefile
@@ -3,7 +3,7 @@
.include <src.opts.mk>
-.PATH: ${.CURDIR}/../../usr.bin/wall
+.PATH: ${SRCTOP}/usr.bin/wall
PROG= syslogd
MAN= syslog.conf.5 syslogd.8
@@ -17,6 +17,6 @@ WARNS?= 3
CFLAGS+= -DINET6
.endif
-CFLAGS+= -I${.CURDIR}/../../usr.bin/wall
+CFLAGS+= -I${SRCTOP}/usr.bin/wall
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud