summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-26 07:20:48 +0100
committerSam James <sam@gentoo.org>2023-03-26 07:21:06 +0100
commit3f61b28c74e149b14c6295b709db80aa0f16ef37 (patch)
tree9eb6e3979e518d3197cddb4a632d3c25882a50f1
parentmedia-sound/guayadeque: dropped obsolete 0.4.6 (diff)
downloadgentoo-3f61b28c74e149b14c6295b709db80aa0f16ef37.tar.gz
gentoo-3f61b28c74e149b14c6295b709db80aa0f16ef37.tar.bz2
gentoo-3f61b28c74e149b14c6295b709db80aa0f16ef37.zip
dev-libs/json-c: cleanup
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-libs/json-c/json-c-0.16-r1.ebuild10
-rw-r--r--dev-libs/json-c/json-c-9999.ebuild6
2 files changed, 2 insertions, 14 deletions
diff --git a/dev-libs/json-c/json-c-0.16-r1.ebuild b/dev-libs/json-c/json-c-0.16-r1.ebuild
index 897ab5dfeac0..0b8f70b084cd 100644
--- a/dev-libs/json-c/json-c-0.16-r1.ebuild
+++ b/dev-libs/json-c/json-c-0.16-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,10 +20,6 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/json-c/config.h
)
-src_prepare() {
- cmake_src_prepare
-}
-
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_STATIC_LIBS=$(usex static-libs)
@@ -36,10 +32,6 @@ multilib_src_configure() {
cmake_src_configure
}
-multilib_src_compile() {
- cmake_src_compile
-}
-
multilib_src_test() {
multilib_is_native_abi && cmake_src_test
}
diff --git a/dev-libs/json-c/json-c-9999.ebuild b/dev-libs/json-c/json-c-9999.ebuild
index 45ad70272198..d1cd5a7aa95a 100644
--- a/dev-libs/json-c/json-c-9999.ebuild
+++ b/dev-libs/json-c/json-c-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,10 +19,6 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/json-c/config.h
)
-src_prepare() {
- cmake_src_prepare
-}
-
multilib_src_configure() {
local mycmakeargs=(
-DDISABLE_WERROR=ON