svn commit: r312502 - head/lib/libcompat

Ngie Cooper ngie at FreeBSD.org
Fri Jan 20 04:52:02 UTC 2017


Author: ngie
Date: Fri Jan 20 04:52:00 2017
New Revision: 312502
URL: https://svnweb.freebsd.org/changeset/base/312502

Log:
  Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
  
  This simplifies pathing in make/displayed output
  
  MFC after:    3 weeks
  Sponsored by: Dell EMC Isilon

Modified:
  head/lib/libcompat/Makefile

Modified: head/lib/libcompat/Makefile
==============================================================================
--- head/lib/libcompat/Makefile	Fri Jan 20 04:51:36 2017	(r312501)
+++ head/lib/libcompat/Makefile	Fri Jan 20 04:52:00 2017	(r312502)
@@ -3,7 +3,7 @@
 
 PACKAGE=lib${LIB}
 LIB=	compat
-CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
+CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${SRCTOP}/lib/libc/locale
 NO_PIC=
 
 WARNS?=	0


More information about the svn-src-all mailing list