Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/ifconfig Change from using ${.CURDIR} to ${NETBSDSRCDIR...



details:   https://anonhg.NetBSD.org/src/rev/746c5951256a
branches:  trunk
changeset: 747431:746c5951256a
user:      he <he%NetBSD.org@localhost>
date:      Mon Sep 14 15:12:21 2009 +0000

description:
Change from using ${.CURDIR} to ${NETBSDSRCDIR} because this file
may be included by different parts of the source tree, in particular
deep down in the distrib/ tree, where ../.. isn't sufficient to "climb"
up to the top of the tree.  Fixes the build at least for our arc port.

diffstat:

 sbin/ifconfig/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 9abb4ef4214e -r 746c5951256a sbin/ifconfig/Makefile.inc
--- a/sbin/ifconfig/Makefile.inc        Mon Sep 14 14:37:52 2009 +0000
+++ b/sbin/ifconfig/Makefile.inc        Mon Sep 14 15:12:21 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.4 2009/09/14 10:36:49 degroote Exp $
+#      $NetBSD: Makefile.inc,v 1.5 2009/09/14 15:12:21 he Exp $
 
 PROG=  ifconfig
 
@@ -20,5 +20,5 @@
 SRCS+= util.c
 SRCS+= vlan.c
 
-CPPFLAGS+=-I ${.CURDIR}/../../sys/dist/pf/ 
+CPPFLAGS+=-I ${NETBSDSRCDIR}/sys/dist/pf/
 SRCS+= pfsync.c



Home | Main Index | Thread Index | Old Index