summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-04 16:36:07 +0000
committerngie <ngie@FreeBSD.org>2017-02-04 16:36:07 +0000
commitb9bbda979fe02a0b9a932c59b6cac7b9c5feb428 (patch)
treecd252e29c49c10e39ca74a57fde1521353ba9c94 /lib/libc/regex
parent9b4f0bcaf81761e838fa939feea4b529eb177ff2 (diff)
downloadFreeBSD-src-b9bbda979fe02a0b9a932c59b6cac7b9c5feb428.zip
FreeBSD-src-b9bbda979fe02a0b9a932c59b6cac7b9c5feb428.tar.gz
MFC r312332:
Use SRCTOP where possible and use :H to manipulate .CURDIR to get rid of unnecessarily long relative path .PATH values with make
Diffstat (limited to 'lib/libc/regex')
-rw-r--r--lib/libc/regex/grot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/grot/Makefile b/lib/libc/regex/grot/Makefile
index 056b55e..df639ba 100644
--- a/lib/libc/regex/grot/Makefile
+++ b/lib/libc/regex/grot/Makefile
@@ -5,7 +5,7 @@
# Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's
# for my use in some special contexts).
-PATHS= ${.CURDIR}/.. ${.CURDIR}/../../locale ${.CURDIR}/../../../../include
+PATHS= ${.CURDIR:H} ${.CURDIR:H:H}/locale ${SRCTOP}/include
.PATH: ${PATHS}
CFLAGS+= -static -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
OpenPOWER on IntegriCloud