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/870175d45cb8
branches:  trunk
changeset: 959793:870175d45cb8
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 854cf13af83a -r 870175d45cb8 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