summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-28 19:08:32 +0100
committerSam James <sam@gentoo.org>2022-10-28 19:47:50 +0100
commitc49c3e4b78283f8e9f8e8e941d843019c5d1741e (patch)
treecbc168cfdbbe04f9bbea621cbdaa5c68d2cf6c76 /net-libs/libyang
parentnet-libs/libblkmaker: drop multilib (diff)
downloadgentoo-c49c3e4b78283f8e9f8e8e941d843019c5d1741e.tar.gz
gentoo-c49c3e4b78283f8e9f8e8e941d843019c5d1741e.tar.bz2
gentoo-c49c3e4b78283f8e9f8e8e941d843019c5d1741e.zip
net-libs/libyang: drop multilib
No multilib reverse dependencies. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/libyang')
-rw-r--r--net-libs/libyang/libyang-2.0.194-r1.ebuild (renamed from net-libs/libyang/libyang-2.0.194.ebuild)14
1 files changed, 8 insertions, 6 deletions
diff --git a/net-libs/libyang/libyang-2.0.194.ebuild b/net-libs/libyang/libyang-2.0.194-r1.ebuild
index 975c5453bec1..f08475ffb964 100644
--- a/net-libs/libyang/libyang-2.0.194.ebuild
+++ b/net-libs/libyang/libyang-2.0.194-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake-multilib
+inherit cmake
DESCRIPTION="YANG data modeling language library"
HOMEPAGE="https://github.com/CESNET/libyang"
@@ -15,7 +15,7 @@ KEYWORDS="amd64 ~arm64 x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
-RDEPEND="dev-libs/libpcre2[${MULTILIB_USEDEP}]"
+RDEPEND="dev-libs/libpcre2"
DEPEND="
${RDEPEND}
test? ( dev-util/cmocka )
@@ -25,7 +25,7 @@ BDEPEND="
doc? ( app-doc/doxygen[dot] )
"
-multilib_src_configure() {
+src_configure() {
local mycmakeargs=(
-DENABLE_TESTS=$(usex test)
-DENABLE_VALGRIND_TESTS=OFF
@@ -33,12 +33,14 @@ multilib_src_configure() {
cmake_src_configure
}
-multilib_src_compile() {
+src_compile() {
cmake_src_compile
- multilib_is_native_abi && use doc && cmake_src_compile doc
+ use doc && cmake_src_compile doc
}
-multilib_src_install_all() {
+src_install() {
+ cmake_src_install
+
use doc && dodoc -r doc/.
}