Module Name: src
Committed By: roy
Date: Sun Apr 10 21:06:54 UTC 2016
Modified Files:
src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile
Log Message:
dhcpcd now uses libutil.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 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.29 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.30
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.29 Wed Mar 23 08:39:01 2016
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Sun Apr 10 21:06:54 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2016/03/23 08:39:01 mrg Exp $
+# $NetBSD: Makefile,v 1.30 2016/04/10 21:06:54 roy Exp $
#
PROG= dhcpcd
@@ -30,6 +30,9 @@ SRCS+= ipv6.c ipv6nd.c dhcp6.c
DIST= ${NETBSDSRCDIR}/external/bsd/dhcpcd/dist
CPPFLAGS+= -I${DIST}
+DPADD+= ${LIBUTIL}
+LDADD+= -lutil
+
.PATH: ${DIST} ${DIST}/crypt ${LIBC_NET}
SCRIPTS= dhcpcd-run-hooks
@@ -69,6 +72,7 @@ ${f}: ${f}.in
-e 's:@SERVICEEXISTS@::g' \
-e 's:@SERVICECMD@::g' \
-e 's:@SERVICESTATUS@::g' \
+ -e 's:@STATUSARG@::g' \
${DIST}/${f}.in > $@
.endfor