dhcpcd now uses libutil.

This commit is contained in:
roy 2016-04-10 21:06:54 +00:00
parent 9c9a1de605
commit f6d6501d55

View File

@ -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