Module Name: src
Committed By: he
Date: Mon Sep 14 15:12:21 UTC 2009
Modified Files:
src/sbin/ifconfig: Makefile.inc
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sbin/ifconfig/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/ifconfig/Makefile.inc
diff -u src/sbin/ifconfig/Makefile.inc:1.4 src/sbin/ifconfig/Makefile.inc:1.5
--- src/sbin/ifconfig/Makefile.inc:1.4 Mon Sep 14 10:36:49 2009
+++ src/sbin/ifconfig/Makefile.inc Mon Sep 14 15:12:21 2009
@@ -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