git: 8fb2ca981a2c - main - devel/libnvme: Fix json dependency

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 28 Feb 2025 15:56:16 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8fb2ca981a2c38970bc72694a8bcca369d689886

commit 8fb2ca981a2c38970bc72694a8bcca369d689886
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-02-28 15:52:56 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-02-28 15:52:56 +0000

    devel/libnvme: Fix json dependency
    
    We need to add uses pkgconfig so that we can find the json-c dependency
    in some environments.
    
    Fixes: a2717463378268be2994329b4be4553c9698d0ad
    Sponsored by: Netflix
---
 devel/libnvme/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/libnvme/Makefile b/devel/libnvme/Makefile
index 37f001608f81..c3b9eaeaf4de 100644
--- a/devel/libnvme/Makefile
+++ b/devel/libnvme/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libnvme
 DISTVERSION=	1.11.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 
 MAINTAINER=	imp@FreeBSD.org
@@ -15,7 +15,7 @@ BUILD_DEPENDS=	freebsd-nvme-shim>0:devel/freebsd-nvme-shim \
 		bash>0:shells/bash
 LIB_DEPENDS=	libjson-c.so:devel/json-c
 
-USES=		meson
+USES=		meson pkgconfig
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes