Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2017 16:36:07 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r313221 - stable/10/lib/libc/regex/grot
Message-ID:  <201702041636.v14Ga7K2070757@repo.freebsd.org>

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



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