git: 40569e659157 - main - net/libdaq: Use libpcap from ports

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 05 Oct 2026 21:35:19 UTC
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=40569e659157258c23320dbb9ef5dd6b1619afed

commit 40569e659157258c23320dbb9ef5dd6b1619afed
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2026-10-05 20:57:11 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2026-10-05 21:35:14 +0000

    net/libdaq: Use libpcap from ports
    
    Add explicit lib version to force port to use libpcap from ports and
    avoid it rebuilding every time base packages are upgraded
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Reviewed By:    bofh
    Differential Revision:  https://reviews.freebsd.org/D60383
---
 net/libdaq/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/libdaq/Makefile b/net/libdaq/Makefile
index f2f646205fad..56e959524bc9 100644
--- a/net/libdaq/Makefile
+++ b/net/libdaq/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	libdaq
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.0.27
+PORTREVISION=	1
 CATEGORIES=	net
 
 PATCH_SITES=	https://github.com/glebius/${PORTNAME}/commit/
@@ -13,7 +14,7 @@ WWW=		https://www.snort.org/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libpcap.so:net/libpcap	# avoid base libpcap
+LIB_DEPENDS=	libpcap.so.1:net/libpcap	# avoid base libpcap
 
 USES=		autoreconf compiler:c++11-lang libtool localbase pkgconfig
 USE_GITHUB=	yes