Source-Changes-HG archive

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

[src/trunk]: src/sbin/ifconfig don't define RUMP_ACTION if MKRUMP = no



details:   https://anonhg.NetBSD.org/src/rev/6e021ebee6ca
branches:  trunk
changeset: 780822:6e021ebee6ca
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 08 14:10:38 2012 +0000

description:
don't define RUMP_ACTION if MKRUMP = no

diffstat:

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

diffs (19 lines):

diff -r e42c11d0dd8f -r 6e021ebee6ca sbin/ifconfig/Makefile
--- a/sbin/ifconfig/Makefile    Wed Aug 08 14:09:14 2012 +0000
+++ b/sbin/ifconfig/Makefile    Wed Aug 08 14:10:38 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.52 2011/08/14 12:15:15 christos Exp $
+#      $NetBSD: Makefile,v 1.53 2012/08/08 14:10:38 christos Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 # when making a change to this file, please check if the change is
@@ -21,7 +21,9 @@
 
 .PATH:         ${.CURDIR}/../../lib/libc/net
 RUMPSRCS= getifaddrs.c
+.if (${MKRUMP} != "no")
 CPPFLAGS+= -DRUMP_ACTION
+.endif
 
 CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
 SRCS+= pfsync.c



Home | Main Index | Thread Index | Old Index