mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-libs/json-c: Change USE to cpu_flags_x86_rdrand
Closes: https://bugs.gentoo.org/724354 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16686 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
fb58997e80
commit
7faeb8c0bc
@@ -13,7 +13,7 @@ SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="cpu-flags-x86-rdrand doc static-libs threads"
|
||||
IUSE="cpu_flags_x86_rdrand doc static-libs threads"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.14-cmake-static-libs.patch"
|
||||
@@ -34,7 +34,7 @@ multilib_src_configure() {
|
||||
-DBUILD_DOCUMENTATION=$(multilib_native_usex doc)
|
||||
-DBUILD_STATIC_LIBS=$(usex static-libs)
|
||||
-DDISABLE_WERROR=ON
|
||||
-DENABLE_RDRAND=$(usex cpu-flags-x86-rdrand)
|
||||
-DENABLE_RDRAND=$(usex cpu_flags_x86_rdrand)
|
||||
-DENABLE_THREADING=$(usex threads)
|
||||
)
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/json-c/json-c.git"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/5"
|
||||
IUSE="cpu-flags-x86-rdrand doc static-libs threads"
|
||||
IUSE="cpu_flags_x86_rdrand doc static-libs threads"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/json-c/config.h
|
||||
@@ -27,7 +27,7 @@ multilib_src_configure() {
|
||||
-DBUILD_DOCUMENTATION=$(multilib_native_usex doc)
|
||||
-DDISABLE_WERROR=ON
|
||||
-DENABLE_THREADING=$(usex threads)
|
||||
-DENABLE_RDRAND=$(usex cpu-flags-x86-rdrand)
|
||||
-DENABLE_RDRAND=$(usex cpu_flags_x86_rdrand)
|
||||
-DBUILD_STATIC_LIBS=$(usex static-libs)
|
||||
)
|
||||
|
||||
|
||||
@@ -13,9 +13,6 @@
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="cpu-flags-x86-rdrand">Enable RDRAND Hardware RNG Hash Seed</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
JSON-C is a JSON implementation written in C. It implements a
|
||||
reference counting object model that allows you to easily
|
||||
|
||||
Reference in New Issue
Block a user