summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-11 06:58:24 +0000
committerngie <ngie@FreeBSD.org>2017-02-11 06:58:24 +0000
commit2b3dd72c57ac7e9bc292bf000cc33d73728b4b0f (patch)
tree9e9b73b7bc6c857e9178a95f614a9e1f0d82fb77
parent41ea5ba4125fe59768be3f47254885f6a854b808 (diff)
downloadFreeBSD-src-2b3dd72c57ac7e9bc292bf000cc33d73728b4b0f.zip
FreeBSD-src-2b3dd72c57ac7e9bc292bf000cc33d73728b4b0f.tar.gz
MFC r312501:
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output
-rw-r--r--lib/libcom_err/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcom_err/Makefile b/lib/libcom_err/Makefile
index 78014ad..c19b2a8 100644
--- a/lib/libcom_err/Makefile
+++ b/lib/libcom_err/Makefile
@@ -4,7 +4,7 @@ LIB= com_err
SRCS= com_err.c error.c
INCS= ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h
MAN= com_err.3
-COM_ERRDIR= ${.CURDIR}/../../contrib/com_err
+COM_ERRDIR= ${SRCTOP}/contrib/com_err
CFLAGS+= -I${COM_ERRDIR}
LDFLAGS= -Wl,--no-undefined
OpenPOWER on IntegriCloud