summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-04 17:17:38 +0000
committerngie <ngie@FreeBSD.org>2017-02-04 17:17:38 +0000
commit6fc08ca591dde976e62527c2fe2809adb98649d8 (patch)
treeb64d17a12dcc077687e1dc4af7a4a82b654b6ac9 /lib/libc/regex
parent3fd08b156edf5c195975e18f99f60667d32f0a3c (diff)
downloadFreeBSD-src-6fc08ca591dde976e62527c2fe2809adb98649d8.zip
FreeBSD-src-6fc08ca591dde976e62527c2fe2809adb98649d8.tar.gz
MFC r312332,r312446,r312451:
r312332: Use SRCTOP where possible and use :H to manipulate .CURDIR to get rid of unnecessarily long relative path .PATH values with make r312446 (by emaste): libc: remove reference to nonexistent lib/locale directory As far as I can tell this was introduced in r72406 and updated in several subsequent revisions, but the lib/locale directory it referenced never existed. r312451: Replace dot-dot relative pathing with SRCTOP-relative paths where possible This reduces build output, need for recalculating paths, and makes it clearer which paths are relative to what areas in the source tree. The change in performance over a locally mounted UFS filesystem was negligible in my testing, but this may more positively impact other filesystems like NFS. LIBC_SRCTOP was left alone so Juniper (and other users) can continue to manipulate lib/libc/Makefile (and other Makefile.inc's under lib/libc) as include Makefiles with custom options. Discussed with: marcel, sjg
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..d012388 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= ${LIBC_SRCTOP}/regex ${LIBC_SRCTOP}/locale ${SRCTOP}/include
.PATH: ${PATHS}
CFLAGS+= -static -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
OpenPOWER on IntegriCloud