Author: ngie
Date: Fri Jan 20 04:53:26 2017
New Revision: 312506
URL: https://svnweb.freebsd.org/changeset/base/312506

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/libiconv_modules/Makefile.inc
  head/lib/libiconv_modules/mapper_parallel/Makefile

Modified: head/lib/libiconv_modules/Makefile.inc
==============================================================================
--- head/lib/libiconv_modules/Makefile.inc      Fri Jan 20 04:53:20 2017        
(r312505)
+++ head/lib/libiconv_modules/Makefile.inc      Fri Jan 20 04:53:26 2017        
(r312506)
@@ -1,10 +1,10 @@
 # $FreeBSD$
 
-.PATH: ${.CURDIR}/../../libc/iconv
+.PATH: ${SRCTOP}/lib/libc/iconv
 
 SHLIB_MAJOR= 4
 WARNS?=        6
-CFLAGS+= -I${.CURDIR}/../../libc/iconv
+CFLAGS+= -I${SRCTOP}/lib/libc/iconv
 
 CFLAGS+=       -Dbool=_Bool
 

Modified: head/lib/libiconv_modules/mapper_parallel/Makefile
==============================================================================
--- head/lib/libiconv_modules/mapper_parallel/Makefile  Fri Jan 20 04:53:20 
2017        (r312505)
+++ head/lib/libiconv_modules/mapper_parallel/Makefile  Fri Jan 20 04:53:26 
2017        (r312506)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-.PATH: ${.CURDIR}/../mapper_serial
+.PATH: ${.CURDIR:H}/mapper_serial
 
 SHLIB= mapper_parallel
 SRCS+= citrus_mapper_serial.c
_______________________________________________
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