aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2006-01-25 15:00:31 +0800
committerbms <bms@FreeBSD.org>2006-01-25 15:00:31 +0800
commit4733e0993d0d373af7514b22da28693294074ba0 (patch)
tree0b09c25a06c28e5a4275e87323ff37e218daff20 /net
parentb887c34c170dbcb59ef5e63cb565aefa87c55831 (diff)
downloadfreebsd-ports-gnome-4733e0993d0d373af7514b22da28693294074ba0.tar.gz
freebsd-ports-gnome-4733e0993d0d373af7514b22da28693294074ba0.tar.zst
freebsd-ports-gnome-4733e0993d0d373af7514b22da28693294074ba0.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
Diffstat (limited to 'net')
-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}