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)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to