[Bug 290948] dns/dsc: use libpcap from base, before using port.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Dec 2025 23:11:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290948

--- Comment #4 from Vladimir Druzenko <vvd@FreeBSD.org> ---
Try this patch:

--- a/dns/dsc/Makefile
+++ b/dns/dsc/Makefile
@@ -12,8 +12,7 @@ LICENSE=      BSD3CLAUSE

 BUILD_DEPENDS= ${RUN_DEPENDS}
 LIB_DEPENDS=   libmaxminddb.so:net/libmaxminddb
-RUN_DEPENDS=   libpcap>=1.8.1:net/libpcap \
-               p5-Proc-PID-File>=1.28:devel/p5-Proc-PID-File \
+RUN_DEPENDS=   p5-Proc-PID-File>=1.28:devel/p5-Proc-PID-File \
                p5-XML-Simple>=2.24:textproc/p5-XML-Simple

 USES=          gmake localbase perl5 pkgconfig python shebangfix
@@ -23,6 +22,8 @@ SHEBANG_FILES=        src/dsc-psl-convert
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --with-pid-file=/var/run/${PORTNAME}.pid

+LDFLAGS+=      -L/usr/lib
+
 SUB_FILES=     pkg-message

 OPTIONS_DEFINE=        DOCS

-- 
You are receiving this mail because:
You are the assignee for the bug.