Module Name: src
Committed By: roy
Date: Fri Oct 2 21:40:16 UTC 2009
Modified Files:
src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile
Log Message:
Fix building dhcpcd-5.1.1
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.5 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.6
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.5 Tue Apr 28 22:47:23 2009
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Fri Oct 2 21:40:16 2009
@@ -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}