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 Fix building dhcpcd-5.1.1



details:   https://anonhg.NetBSD.org/src/rev/d8d26e291824
branches:  trunk
changeset: 747820:d8d26e291824
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Oct 02 21:40:16 2009 +0000

description:
Fix building dhcpcd-5.1.1

diffstat:

 external/bsd/dhcpcd/sbin/dhcpcd/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r f7a4e90c2d7f -r d8d26e291824 external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Fri Oct 02 21:36:41 2009 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Fri Oct 02 21:40:16 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/04/28 22:47:23 roy Exp $
+# $NetBSD: Makefile,v 1.6 2009/10/02 21:40:16 roy Exp $
 #
 
 PROG=          dhcpcd
@@ -7,10 +7,13 @@
                signals.c
 SRCS+=         bpf.c if-bsd.c
 
+# getline is only available in NetBSD-6, so build the compat shim
+SRCS+=         getline.c
+
 .include <bsd.own.mk>
 
-DIST=  ${NETBSDSRCDIR}/external/bsd/dhcpcd/dist
-.PATH: ${DIST}
+DIST=          ${NETBSDSRCDIR}/external/bsd/dhcpcd/dist
+.PATH: ${DIST} ${DIST}/compat
 
 CPPFLAGS+=     -I${DIST}
 



Home | Main Index | Thread Index | Old Index