Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2017 03:58:37 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312332 - head/lib/libc/regex/grot
Message-ID:  <201701170358.v0H3wb12025470@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701170358.v0H3wb12025470>