public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/json-c/
@ 2022-04-28  6:54 99% Jakov Smolić
  0 siblings, 0 replies; 1+ results
From: Jakov Smolić @ 2022-04-28  6:54 UTC (permalink / raw
  To: gentoo-commits

commit:     88b6a5ef36144818e4376da7dd8e7a368d995aff
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 06:50:06 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 06:53:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b6a5ef

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 <AT> gentoo.org>

 dev-libs/json-c/{json-c-0.16.ebuild => json-c-0.16-r1.ebuild} | 1 +
 dev-libs/json-c/json-c-9999.ebuild                            | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-libs/json-c/json-c-0.16.ebuild b/dev-libs/json-c/json-c-0.16-r1.ebuild
similarity index 97%
rename from dev-libs/json-c/json-c-0.16.ebuild
rename to dev-libs/json-c/json-c-0.16-r1.ebuild
index 185b1c600d9b..fc5db4844302 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 8a3acbd12f9c..db97175c5f3e 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)


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-04-28  6:54 99% [gentoo-commits] repo/gentoo:master commit in: dev-libs/json-c/ Jakov Smolić

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox