git: 533d5d02970f - main - sysutils/nvme-cli: Add json-c dependency and enable json

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=533d5d02970f8ec962185f0b22f371c8bb4d10f3

commit 533d5d02970f8ec962185f0b22f371c8bb4d10f3
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-02-28 05:48:49 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-02-28 05:50:22 +0000

    sysutils/nvme-cli: Add json-c dependency and enable json
    
    Turns out that too much is disabled when we disable json. Add dependency
    
    Sponsored by:           Netflix
---
 sysutils/nvme-cli/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysutils/nvme-cli/Makefile b/sysutils/nvme-cli/Makefile
index c7187439ef87..0deddfc3b1b2 100644
--- a/sysutils/nvme-cli/Makefile
+++ b/sysutils/nvme-cli/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nvme-cli
 DISTVERSION=	2.11.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 
 MAINTAINER=	imp@FreeBSD.org
@@ -12,7 +12,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	bash>0:shells/bash \
 		freebsd-nvme-shim>0:devel/freebsd-nvme-shim
-LIB_DEPENDS=	libnvme.so:devel/libnvme
+LIB_DEPENDS=	libnvme.so:devel/libnvme \
+		libjson-c.so:devel/json-c
 
 USES=		meson pkgconfig
 
@@ -24,7 +25,6 @@ GH_TAGNAME=	freebsd-${DISTVERSION}
 
 CFLAGS+=	-I${LOCALBASE}/include/freebsd-nvme-shim
 
-MESON_ARGS=	-Ddocs=man \
-		-Djson-c=disabled
+MESON_ARGS=	-Ddocs=man
 
 .include <bsd.port.mk>