git: a27174633782 - main - devel/libnvme: Add json-c dependency and enable json
Date: Fri, 28 Feb 2025 05:50:56 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a2717463378268be2994329b4be4553c9698d0ad
commit a2717463378268be2994329b4be4553c9698d0ad
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
devel/libnvme: Add json-c dependency and enable json
Turns out that too much is disabled when we disable json. Add dependency
Sponsored by: Netflix
---
devel/libnvme/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/devel/libnvme/Makefile b/devel/libnvme/Makefile
index 585ffd57a00b..37f001608f81 100644
--- a/devel/libnvme/Makefile
+++ b/devel/libnvme/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libnvme
DISTVERSION= 1.11.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MAINTAINER= imp@FreeBSD.org
@@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= aarch64 amd64
BUILD_DEPENDS= freebsd-nvme-shim>0:devel/freebsd-nvme-shim \
bash>0:shells/bash
+LIB_DEPENDS= libjson-c.so:devel/json-c
USES= meson
USE_LDCONFIG= yes
@@ -26,8 +27,7 @@ CFLAGS+= -I${LOCALBASE}/include/freebsd-nvme-shim
PLIST_SUB= DISTVERSION=${DISTVERSION} \
MAJORVER=${DISTVERSION:R:R}
-MESON_ARGS= -Djson-c=disabled \
- -Dkeyutils=disabled \
+MESON_ARGS= -Dkeyutils=disabled \
-Dopenssl=disabled \
-Dpython=disabled \
-Dtests=false