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 Workaround libc not exportin...
details: https://anonhg.NetBSD.org/src/rev/526c27f8bc4d
branches: trunk
changeset: 780725:526c27f8bc4d
user: roy <roy%NetBSD.org@localhost>
date: Sat Aug 04 19:11:39 2012 +0000
description:
Workaround libc not exporting in6addr_any when built with MKINET6=no.
diffstat:
external/bsd/dhcpcd/sbin/dhcpcd/Makefile | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r ccc3c9439e2d -r 526c27f8bc4d external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Sat Aug 04 17:18:38 2012 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Sat Aug 04 19:11:39 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2012/07/12 16:54:14 roy Exp $
+# $NetBSD: Makefile,v 1.13 2012/08/04 19:11:39 roy Exp $
#
PROG= dhcpcd
@@ -11,9 +11,16 @@
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/external/bsd/dhcpcd/dist
-.PATH: ${DIST}
+CPPFLAGS+= -I${DIST}
-CPPFLAGS+= -I${DIST}
+# Workaround libc not exporting in6addr_any when MKINET6=no
+.if defined(MKINET6) && empty(MKINET6:M[yY][eE][sS])
+LIBC_NET= ${NETBSDSRCDIR}/lib/libc/net
+SRCS+= vars6.c
+CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/include
+.endif
+
+.PATH: ${DIST} ${LIBC_NET}
SCRIPTS= dhcpcd-run-hooks
SCRIPTSDIR_dhcpcd-run-hooks= /libexec
Home |
Main Index |
Thread Index |
Old Index