Author: ngie Date: Mon Jan 9 03:08:21 2017 New Revision: 311739 URL: https://svnweb.freebsd.org/changeset/base/311739
Log: Use SRCTOP instead of spelling out the full path with .CURDIR This helps condense the output for CFLAGS and .PATH MFC after: 3 days Modified: head/usr.sbin/bsnmpd/modules/snmp_atm/Makefile head/usr.sbin/bsnmpd/modules/snmp_hast/Makefile head/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile head/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile head/usr.sbin/bsnmpd/modules/snmp_target/Makefile head/usr.sbin/bsnmpd/modules/snmp_usm/Makefile head/usr.sbin/bsnmpd/modules/snmp_vacm/Makefile Modified: head/usr.sbin/bsnmpd/modules/snmp_atm/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/modules/snmp_atm/Makefile Mon Jan 9 02:48:08 2017 (r311738) +++ head/usr.sbin/bsnmpd/modules/snmp_atm/Makefile Mon Jan 9 03:08:21 2017 (r311739) @@ -2,7 +2,7 @@ # # Author: Harti Brandt <ha...@freebsd.org> -CONTRIB= ${.CURDIR}/../../../../contrib/ngatm +CONTRIB= ${SRCTOP}/contrib/ngatm .PATH: ${CONTRIB}/snmp_atm MOD= atm Modified: head/usr.sbin/bsnmpd/modules/snmp_hast/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/modules/snmp_hast/Makefile Mon Jan 9 02:48:08 2017 (r311738) +++ head/usr.sbin/bsnmpd/modules/snmp_hast/Makefile Mon Jan 9 03:08:21 2017 (r311739) @@ -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: head/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile Mon Jan 9 02:48:08 2017 (r311738) +++ head/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile Mon Jan 9 03:08:21 2017 (r311739) @@ -28,7 +28,7 @@ # $FreeBSD$ # -LPRSRC= ${.CURDIR}/../../../lpr/common_source +LPRSRC= ${SRCTOP}/usr.sbin/lpr/common_source .PATH: ${LPRSRC} MOD= hostres Modified: head/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile Mon Jan 9 02:48:08 2017 (r311738) +++ head/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile Mon Jan 9 03:08:21 2017 (r311739) @@ -2,7 +2,7 @@ # # Author: Harti Brandt <ha...@freebsd.org> -CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp +CONTRIB= ${SRCTOP}/contrib/bsnmp .PATH: ${CONTRIB}/snmp_mibII MOD= mibII Modified: head/usr.sbin/bsnmpd/modules/snmp_target/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/modules/snmp_target/Makefile Mon Jan 9 02:48:08 2017 (r311738) +++ head/usr.sbin/bsnmpd/modules/snmp_target/Makefile Mon Jan 9 03:08:21 2017 (r311739) @@ -2,7 +2,7 @@ # # Author: Shteryana Shopova <syr...@freebsd.org> -CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp +CONTRIB= ${SRCTOP}/contrib/bsnmp .PATH: ${CONTRIB}/snmp_target MOD= target Modified: head/usr.sbin/bsnmpd/modules/snmp_usm/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/modules/snmp_usm/Makefile Mon Jan 9 02:48:08 2017 (r311738) +++ head/usr.sbin/bsnmpd/modules/snmp_usm/Makefile Mon Jan 9 03:08:21 2017 (r311739) @@ -2,7 +2,7 @@ # # Author: Shteryana Shopova <syr...@freebsd.org> -CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp +CONTRIB= ${SRCTOP}/contrib/bsnmp .PATH: ${CONTRIB}/snmp_usm MOD= usm Modified: head/usr.sbin/bsnmpd/modules/snmp_vacm/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/modules/snmp_vacm/Makefile Mon Jan 9 02:48:08 2017 (r311738) +++ head/usr.sbin/bsnmpd/modules/snmp_vacm/Makefile Mon Jan 9 03:08:21 2017 (r311739) @@ -2,7 +2,7 @@ # # Author: Shteryana Shopova <syr...@freebsd.org> -CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp +CONTRIB= ${SRCTOP}/contrib/bsnmp .PATH: ${CONTRIB}/snmp_vacm MOD= vacm _______________________________________________ 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"