Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 09:07:29 +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-11@freebsd.org
Subject:   svn commit: r312056 - in stable/11/usr.sbin/bsnmpd/modules: snmp_atm snmp_hast snmp_hostres snmp_mibII snmp_target snmp_usm snmp_vacm
Message-ID:  <201701130907.v0D97T3i064160@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri Jan 13 09:07:29 2017
New Revision: 312056
URL: https://svnweb.freebsd.org/changeset/base/312056

Log:
  MFC r311739:
  
  Use SRCTOP instead of spelling out the full path with .CURDIR
  
  This helps condense the output for CFLAGS and .PATH

Modified:
  stable/11/usr.sbin/bsnmpd/modules/snmp_atm/Makefile
  stable/11/usr.sbin/bsnmpd/modules/snmp_hast/Makefile
  stable/11/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile
  stable/11/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile
  stable/11/usr.sbin/bsnmpd/modules/snmp_target/Makefile
  stable/11/usr.sbin/bsnmpd/modules/snmp_usm/Makefile
  stable/11/usr.sbin/bsnmpd/modules/snmp_vacm/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/bsnmpd/modules/snmp_atm/Makefile
==============================================================================
--- stable/11/usr.sbin/bsnmpd/modules/snmp_atm/Makefile	Fri Jan 13 09:07:25 2017	(r312055)
+++ stable/11/usr.sbin/bsnmpd/modules/snmp_atm/Makefile	Fri Jan 13 09:07:29 2017	(r312056)
@@ -2,7 +2,7 @@
 #
 # Author: Harti Brandt <harti@freebsd.org>
 
-CONTRIB= ${.CURDIR}/../../../../contrib/ngatm
+CONTRIB= ${SRCTOP}/contrib/ngatm
 .PATH: ${CONTRIB}/snmp_atm
 
 MOD=	atm

Modified: stable/11/usr.sbin/bsnmpd/modules/snmp_hast/Makefile
==============================================================================
--- stable/11/usr.sbin/bsnmpd/modules/snmp_hast/Makefile	Fri Jan 13 09:07:25 2017	(r312055)
+++ stable/11/usr.sbin/bsnmpd/modules/snmp_hast/Makefile	Fri Jan 13 09:07:29 2017	(r312056)
@@ -2,7 +2,7 @@
 
 .include <src.opts.mk>
 
-.PATH:	${.CURDIR}/../../../../sbin/hastd
+.PATH:	${SRCTOP}/sbin/hastd
 
 MOD=	hast
 SRCS=	ebuf.c
@@ -18,7 +18,7 @@ MAN=	snmp_hast.3
 NO_WFORMAT=
 NO_WCAST_ALIGN=
 NO_WMISSING_VARIABLE_DECLARATIONS=
-CFLAGS+=-I${.CURDIR}/../../../../sbin/hastd
+CFLAGS+=-I${SRCTOP}/sbin/hastd
 CFLAGS+=-DHAVE_CAPSICUM
 CFLAGS+=-DINET
 .if ${MK_INET6_SUPPORT} != "no"

Modified: stable/11/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile
==============================================================================
--- stable/11/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile	Fri Jan 13 09:07:25 2017	(r312055)
+++ stable/11/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile	Fri Jan 13 09:07:29 2017	(r312056)
@@ -28,7 +28,7 @@
 # $FreeBSD$
 #
 
-LPRSRC=	${.CURDIR}/../../../lpr/common_source
+LPRSRC=	${SRCTOP}/usr.sbin/lpr/common_source
 .PATH: ${LPRSRC}
 
 MOD=	hostres

Modified: stable/11/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile
==============================================================================
--- stable/11/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile	Fri Jan 13 09:07:25 2017	(r312055)
+++ stable/11/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile	Fri Jan 13 09:07:29 2017	(r312056)
@@ -2,7 +2,7 @@
 #
 # Author: Harti Brandt <harti@freebsd.org>
 
-CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
+CONTRIB= ${SRCTOP}/contrib/bsnmp
 .PATH: ${CONTRIB}/snmp_mibII
 
 MOD=	mibII

Modified: stable/11/usr.sbin/bsnmpd/modules/snmp_target/Makefile
==============================================================================
--- stable/11/usr.sbin/bsnmpd/modules/snmp_target/Makefile	Fri Jan 13 09:07:25 2017	(r312055)
+++ stable/11/usr.sbin/bsnmpd/modules/snmp_target/Makefile	Fri Jan 13 09:07:29 2017	(r312056)
@@ -2,7 +2,7 @@
 #
 # Author: Shteryana Shopova <syrinx@freebsd.org>
 
-CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
+CONTRIB= ${SRCTOP}/contrib/bsnmp
 .PATH: ${CONTRIB}/snmp_target
 
 MOD=	target

Modified: stable/11/usr.sbin/bsnmpd/modules/snmp_usm/Makefile
==============================================================================
--- stable/11/usr.sbin/bsnmpd/modules/snmp_usm/Makefile	Fri Jan 13 09:07:25 2017	(r312055)
+++ stable/11/usr.sbin/bsnmpd/modules/snmp_usm/Makefile	Fri Jan 13 09:07:29 2017	(r312056)
@@ -2,7 +2,7 @@
 #
 # Author: Shteryana Shopova <syrinx@freebsd.org>
 
-CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
+CONTRIB= ${SRCTOP}/contrib/bsnmp
 .PATH: ${CONTRIB}/snmp_usm
 
 MOD=	usm

Modified: stable/11/usr.sbin/bsnmpd/modules/snmp_vacm/Makefile
==============================================================================
--- stable/11/usr.sbin/bsnmpd/modules/snmp_vacm/Makefile	Fri Jan 13 09:07:25 2017	(r312055)
+++ stable/11/usr.sbin/bsnmpd/modules/snmp_vacm/Makefile	Fri Jan 13 09:07:29 2017	(r312056)
@@ -2,7 +2,7 @@
 #
 # Author: Shteryana Shopova <syrinx@freebsd.org>
 
-CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
+CONTRIB= ${SRCTOP}/contrib/bsnmp
 .PATH: ${CONTRIB}/snmp_vacm
 
 MOD=	vacm



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