Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/dhcpcd/sbin/dhcpcd For SMALLPROG, do not compil...



details:   https://anonhg.NetBSD.org/src/rev/3dad6791185d
branches:  trunk
changeset: 953065:3dad6791185d
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Feb 25 07:55:53 2021 +0000

description:
For SMALLPROG, do not compile in IPv6 support unless SMALLPROG_INET6 is
defined, as in the same manner as other utilities.

diffstat:

 external/bsd/dhcpcd/sbin/dhcpcd/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c54faa8bc8c5 -r 3dad6791185d external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Thu Feb 25 03:44:27 2021 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Thu Feb 25 07:55:53 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2020/06/15 17:02:58 roy Exp $
+# $NetBSD: Makefile,v 1.55 2021/02/25 07:55:53 rin Exp $
 #
 
 WARNS?=                6
@@ -54,7 +54,7 @@
 .endif
 .endif
 
-.if (${USE_INET6} != "no")
+.if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no")
 CPPFLAGS+=     -DINET6
 SRCS+=         ipv6.c ipv6nd.c
 # -DSMALL already strips out prefix delegation



Home | Main Index | Thread Index | Old Index