summaryrefslogtreecommitdiff
path: root/usr.bin/host
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2014-11-19 01:07:58 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2014-11-19 01:07:58 +0000
commit9268022b74279434ed6300244e3f977e56a8ceb5 (patch)
tree377ac0ac449528621eb192cd245adadb5fd53668 /usr.bin/host
parent29c34e9d2781cf25403647fb5af7d7ddb23be7e1 (diff)
parent8c3d6a4ab2a4a95d864d9a32d0157d7de90498a4 (diff)
downloadsrc-test-9268022b74279434ed6300244e3f977e56a8ceb5.tar.gz
src-test-9268022b74279434ed6300244e3f977e56a8ceb5.zip
Merge from head@274682
Notes
Notes: svn path=/projects/bmake/; revision=274683
Diffstat (limited to 'usr.bin/host')
-rw-r--r--usr.bin/host/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/host/Makefile b/usr.bin/host/Makefile
index 596245499bfe0..cc1111f115f9b 100644
--- a/usr.bin/host/Makefile
+++ b/usr.bin/host/Makefile
@@ -8,6 +8,7 @@ LDNSHOSTDIR= ${.CURDIR}/../../contrib/ldns-host
PROG= host
SRCS= ldns-host.c
MAN= host.1
+CLEANFILES+= host.1
host.1: ldns-host.1
sed -e 's/ldns-//gI' <${.ALLSRC} >${.TARGET} || \
@@ -15,7 +16,7 @@ host.1: ldns-host.1
CFLAGS+= -I${LDNSDIR}
DPADD+= ${LIBLDNS} ${LIBCRYPTO}
-LDADD+= -lldns -lcrypto
+LDADD+= ${LDLDNS} -lcrypto
USEPRIVATELIB= ldns
.include <bsd.prog.mk>