aboutsummaryrefslogtreecommitdiff
path: root/net/tcpdump
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2006-01-25 07:00:31 +0000
committerBruce M Simpson <bms@FreeBSD.org>2006-01-25 07:00:31 +0000
commit86f8d8d6dabcda9aac5ba1325a6900efb00fafee (patch)
tree5702bc943537d77b0ea16319c15eab7362d1fe52 /net/tcpdump
parent3b2fb3200e46d680cd17565277b596bba5b41c0f (diff)
downloadports-86f8d8d6dabcda9aac5ba1325a6900efb00fafee.tar.gz
ports-86f8d8d6dabcda9aac5ba1325a6900efb00fafee.zip
Fix tcpdump dependency on libpcap.
LIB_DEPENDS should only be used if shared libraries were built by the libpcap port. Currently only static libraries are built. Pointy hat to: bms
Notes
Notes: svn path=/head/; revision=154403
Diffstat (limited to 'net/tcpdump')
-rw-r--r--net/tcpdump/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tcpdump/Makefile b/net/tcpdump/Makefile
index fbfaf12ee8df..d025b4d16a46 100644
--- a/net/tcpdump/Makefile
+++ b/net/tcpdump/Makefile
@@ -15,13 +15,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= bms@FreeBSD.org
COMMENT= Ubiquitous network traffic analysis tool
-BROKEN= Broken dependency
-
# TODO: Add strict sanity check that we're compiling against a
# version of libpcap with which this tcpdump release is compatible.
#
.if defined(TCPDUMP_OVERWRITE_BASE) || !defined(WITH_LIBPCAP_BASE)
-LIB_DEPENDS= pcap.2:${PORTSDIR}/net/libpcap
+BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
.endif
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}