1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

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
This commit is contained in:
Bruce M Simpson 2006-01-25 07:00:31 +00:00
parent 3b2fb3200e
commit 86f8d8d6da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154403

View File

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