From 4733e0993d0d373af7514b22da28693294074ba0 Mon Sep 17 00:00:00 2001 From: bms Date: Wed, 25 Jan 2006 07:00:31 +0000 Subject: 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 --- net/tcpdump/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'net') 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} -- cgit