svn commit: r313221 - stable/10/lib/libc/regex/grot

Ngie Cooper ngie at FreeBSD.org
Sat Feb 4 16:36:08 UTC 2017


Author: ngie
Date: Sat Feb  4 16:36:07 2017
New Revision: 313221
URL: https://svnweb.freebsd.org/changeset/base/313221

Log:
  MFC r312332:
  
  Use SRCTOP where possible and use :H to manipulate .CURDIR to get rid of
  unnecessarily long relative path .PATH values with make

Modified:
  stable/10/lib/libc/regex/grot/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/regex/grot/Makefile
==============================================================================
--- stable/10/lib/libc/regex/grot/Makefile	Sat Feb  4 16:34:44 2017	(r313220)
+++ stable/10/lib/libc/regex/grot/Makefile	Sat Feb  4 16:36:07 2017	(r313221)
@@ -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-stable-10 mailing list