Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2017 04:14:41 +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: r314456 - head/usr.sbin/rpc.yppasswdd
Message-ID:  <201703010414.v214Efe3014795@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Mar  1 04:14:41 2017
New Revision: 314456
URL: https://svnweb.freebsd.org/changeset/base/314456

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

Modified:
  head/usr.sbin/rpc.yppasswdd/Makefile

Modified: head/usr.sbin/rpc.yppasswdd/Makefile
==============================================================================
--- head/usr.sbin/rpc.yppasswdd/Makefile	Wed Mar  1 04:13:31 2017	(r314455)
+++ head/usr.sbin/rpc.yppasswdd/Makefile	Wed Mar  1 04:14:41 2017	(r314456)
@@ -2,8 +2,8 @@
 
 RPCDIR=	${DESTDIR}/usr/include/rpcsvc
 
-.PATH: ${.CURDIR}/../../usr.sbin/ypserv ${.CURDIR}/../../usr.bin/chpass \
-       ${.CURDIR}/../../libexec/ypxfr ${RPCDIR}
+.PATH: ${SRCTOP}/usr.sbin/ypserv ${SRCTOP}/usr.bin/chpass \
+       ${SRCTOP}/libexec/ypxfr ${RPCDIR}
 
 PROG=	rpc.yppasswdd
 SCRIPTS=yppwupdate
@@ -16,9 +16,9 @@ GENSRCS=yp.h yp_clnt.c yppasswd.h yppass
 
 WARNS?=	 5
 CFLAGS+= -fno-strict-aliasing
-CFLAGS+= -I${.CURDIR}/../../usr.sbin/vipw \
-	 -I${.CURDIR}/../../usr.sbin/ypserv \
-	 -I${.CURDIR}/../../libexec/ypxfr \
+CFLAGS+= -I${SRCTOP}/usr.sbin/vipw \
+	 -I${SRCTOP}/usr.sbin/ypserv \
+	 -I${SRCTOP}/libexec/ypxfr \
 	 -I${.CURDIR} -I.
 LIBADD=	rpcsvc crypt util
 



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