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 Make the building of INET op...



details:   https://anonhg.NetBSD.org/src/rev/9e153b3262ef
branches:  trunk
changeset: 334983:9e153b3262ef
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Dec 19 10:59:06 2014 +0000

description:
Make the building of INET optional.
As both INET and INET6 are now options, it's possible to build dhcpcd
without both. When built this way it will just report carrier events.

diffstat:

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

diffs (21 lines):

diff -r d86535a1787d -r 9e153b3262ef external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Fri Dec 19 10:55:13 2014 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Fri Dec 19 10:59:06 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2014/06/14 21:00:22 roy Exp $
+# $NetBSD: Makefile,v 1.23 2014/12/19 10:59:06 roy Exp $
 #
 
 PROG=          dhcpcd
@@ -14,8 +14,11 @@
 
 SRCS+=         auth.c hmac_md5.c
 
+USE_INET?=     yes
+.if (${USE_INET} != "no")
 CPPFLAGS+=     -DINET
 SRCS+=         arp.c dhcp.c ipv4.c ipv4ll.c
+.endif
 
 .if (${USE_INET6} != "no")
 CPPFLAGS+=     -DINET6



Home | Main Index | Thread Index | Old Index