Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/x_ifconfig Make the definition of CRUNCHOPS in...



details:   https://anonhg.NetBSD.org/src/rev/60387f04ad27
branches:  trunk
changeset: 759662:60387f04ad27
user:      hannken <hannken%NetBSD.org@localhost>
date:      Tue Dec 14 17:07:08 2010 +0000

description:
Make the definition of CRUNCHOPS independent of SMALLPROG_INET6 / USE_INET6.

Distrib/sparc64/instfs now builds again.

diffstat:

 distrib/utils/x_ifconfig/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1f1f671b3bb4 -r 60387f04ad27 distrib/utils/x_ifconfig/Makefile
--- a/distrib/utils/x_ifconfig/Makefile Tue Dec 14 16:58:58 2010 +0000
+++ b/distrib/utils/x_ifconfig/Makefile Tue Dec 14 17:07:08 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2010/12/13 21:47:32 pooka Exp $
+# $NetBSD: Makefile,v 1.32 2010/12/14 17:07:08 hannken Exp $
 # Build a smaller ifconfig (i.e. for boot media)
 
 .include <bsd.own.mk>
@@ -8,8 +8,9 @@
 SRCDIR=                ${.CURDIR}/../../../sbin/ifconfig
 
 
+CPPFLAGS+=     -DCRUNCHOPS
 .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
-CPPFLAGS+=     -DINET6 -DCRUNCHOPS
+CPPFLAGS+=     -DINET6
 SRCS+= af_inet6.c
 .endif
 



Home | Main Index | Thread Index | Old Index