svn commit: r312332 - head/lib/libc/regex/grot
Ngie Cooper
ngie at FreeBSD.org
Tue Jan 17 03:58:38 UTC 2017
Author: ngie
Date: Tue Jan 17 03:58:37 2017
New Revision: 312332
URL: https://svnweb.freebsd.org/changeset/base/312332
Log:
Use SRCTOP where possible and use :H to manipulate .CURDIR to get rid of
unnecessarily long relative path .PATH values with make
MFC after: 1 days
Sponsored by: Dell EMC Isilon
Modified:
head/lib/libc/regex/grot/Makefile
Modified: head/lib/libc/regex/grot/Makefile
==============================================================================
--- head/lib/libc/regex/grot/Makefile Tue Jan 17 03:52:57 2017 (r312331)
+++ head/lib/libc/regex/grot/Makefile Tue Jan 17 03:58:37 2017 (r312332)
@@ -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)
More information about the svn-src-all
mailing list