summaryrefslogtreecommitdiff
path: root/dev-libs/msgpack
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/msgpack')
-rw-r--r--dev-libs/msgpack/msgpack-3.2.0.ebuild6
-rw-r--r--dev-libs/msgpack/msgpack-3.3.0.ebuild8
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-libs/msgpack/msgpack-3.2.0.ebuild b/dev-libs/msgpack/msgpack-3.2.0.ebuild
index 2857a09fb022..eea2ed4f1001 100644
--- a/dev-libs/msgpack/msgpack-3.2.0.ebuild
+++ b/dev-libs/msgpack/msgpack-3.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -59,7 +59,9 @@ multilib_src_install() {
mkdir docs || die
mv doc_c/html docs/c || die
- use cxx && mv doc_cpp/html docs/cpp || die
+ if use cxx; then
+ mv doc_cpp/html docs/cpp || die
+ fi
fi
if use examples; then
diff --git a/dev-libs/msgpack/msgpack-3.3.0.ebuild b/dev-libs/msgpack/msgpack-3.3.0.ebuild
index 532685cbd1c1..8d8ed36de2c5 100644
--- a/dev-libs/msgpack/msgpack-3.3.0.ebuild
+++ b/dev-libs/msgpack/msgpack-3.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -50,7 +50,7 @@ multilib_src_compile() {
cmake_src_compile
if multilib_is_native_abi && use doc; then
- emake doxygen
+ cmake_build doxygen
fi
}
@@ -62,7 +62,9 @@ multilib_src_install() {
mkdir docs || die
mv doc_c/html docs/c || die
- use cxx && mv doc_cpp/html docs/cpp || die
+ if use cxx; then
+ mv doc_cpp/html docs/cpp || die
+ fi
fi
if use examples; then