mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +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:
parent
3b2fb3200e
commit
86f8d8d6da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154403
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user