summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-04-28 08:50:06 +0200
committerJakov Smolić <jsmolic@gentoo.org>2022-04-28 08:53:58 +0200
commit88b6a5ef36144818e4376da7dd8e7a368d995aff (patch)
treee17fdd201385b9f8b2cb23863e42561cc4aa8efb
parentmail-mta/postfix: add 3.7.2 (diff)
downloadgentoo-88b6a5ef36144818e4376da7dd8e7a368d995aff.tar.gz
gentoo-88b6a5ef36144818e4376da7dd8e7a368d995aff.tar.bz2
gentoo-88b6a5ef36144818e4376da7dd8e7a368d995aff.zip
dev-libs/json-c: Drop automagic libbsd dependency
The only use of libbsd seems to be for additional arc4random function, so let's entirely avoid depending on libbsd. Closes: https://bugs.gentoo.org/841401 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r--dev-libs/json-c/json-c-0.16-r1.ebuild (renamed from dev-libs/json-c/json-c-0.16.ebuild)1
-rw-r--r--dev-libs/json-c/json-c-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/dev-libs/json-c/json-c-0.16.ebuild b/dev-libs/json-c/json-c-0.16-r1.ebuild
index 185b1c600d9..fc5db484430 100644
--- a/dev-libs/json-c/json-c-0.16.ebuild
+++ b/dev-libs/json-c/json-c-0.16-r1.ebuild
@@ -28,6 +28,7 @@ src_prepare() {
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_STATIC_LIBS=$(usex static-libs)
+ -DDISABLE_EXTRA_LIBS=ON
-DDISABLE_WERROR=ON
-DENABLE_RDRAND=$(usex cpu_flags_x86_rdrand)
-DENABLE_THREADING=$(usex threads)
diff --git a/dev-libs/json-c/json-c-9999.ebuild b/dev-libs/json-c/json-c-9999.ebuild
index 8a3acbd12f9..db97175c5f3 100644
--- a/dev-libs/json-c/json-c-9999.ebuild
+++ b/dev-libs/json-c/json-c-9999.ebuild
@@ -27,6 +27,7 @@ src_prepare() {
multilib_src_configure() {
local mycmakeargs=(
-DDISABLE_WERROR=ON
+ -DDISABLE_EXTRA_LIBS=ON
-DENABLE_THREADING=$(usex threads)
-DENABLE_RDRAND=$(usex cpu_flags_x86_rdrand)
-DBUILD_STATIC_LIBS=$(usex static-libs)