From 19cc5818ea4fd7b149ab042c1dd78c9e1123e88d Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Fri, 12 Jul 2024 14:00:22 +0200 Subject: [PATCH] sys-kernel/make-initrd: 9999: Add json-c dependency Signed-off-by: Alexey Gladkov --- sys-kernel/make-initrd/make-initrd-9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-kernel/make-initrd/make-initrd-9999.ebuild b/sys-kernel/make-initrd/make-initrd-9999.ebuild index 1d4bebb..5ab1a14 100644 --- a/sys-kernel/make-initrd/make-initrd-9999.ebuild +++ b/sys-kernel/make-initrd/make-initrd-9999.ebuild @@ -19,7 +19,7 @@ fi LICENSE="GPL-3+" SLOT="0" -IUSE="+zlib bzip2 lzma zstd +man" +IUSE="+zlib bzip2 lzma zstd +man +json-c" DEPEND=" app-alternatives/cpio @@ -40,6 +40,7 @@ DEPEND=" man? ( app-text/scdoc ) zlib? ( sys-libs/zlib ) zstd? ( app-arch/zstd ) + json-c? ( dev-libs/json-c ) " RDEPEND="${DEPEND}" @@ -71,6 +72,7 @@ src_configure() { --with-bzip2=$(usex bzip2) \ --with-lzma=$(usex lzma) \ --with-zstd=$(usex zstd) \ + --with-json-c=$(usex json-c) \ $(usex man --with-scdoc --without-scdoc) \ # }