svn commit: r313652 - head/usr.bin/bsdcat

Ngie Cooper ngie at FreeBSD.org
Sat Feb 11 20:18:26 UTC 2017


Author: ngie
Date: Sat Feb 11 20:18:24 2017
New Revision: 313652
URL: https://svnweb.freebsd.org/changeset/base/313652

Log:
  Use SRCTOP instead of .CURDIR relative paths with ".."
  
  This simplifies pathing in make/displayed output
  
  MFC after:	1 week
  Sponsored by:	Dell EMC Isilon

Modified:
  head/usr.bin/bsdcat/Makefile

Modified: head/usr.bin/bsdcat/Makefile
==============================================================================
--- head/usr.bin/bsdcat/Makefile	Sat Feb 11 20:14:50 2017	(r313651)
+++ head/usr.bin/bsdcat/Makefile	Sat Feb 11 20:18:24 2017	(r313652)
@@ -2,10 +2,10 @@
 
 .include <src.opts.mk>
 
-_LIBARCHIVEDIR=	${.CURDIR}/../../contrib/libarchive
-_LIBARCHIVECONFDIR=	${.CURDIR}/../../lib/libarchive
+_LIBARCHIVEDIR=	${SRCTOP}/contrib/libarchive
+_LIBARCHIVECONFDIR=	${SRCTOP}/lib/libarchive
 
-PROG=	bsdcat	
+PROG=	bsdcat
 BSDCAT_VERSION_STRING=	3.2.2
 
 .PATH:	${_LIBARCHIVEDIR}/cat


More information about the svn-src-all mailing list