commit:     5427734922c03f5b28cf432a9c33b4b3b54f824a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 28 20:22:40 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 20:23:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54277349

dev-libs/jsoncpp: Fix building docs with meson

Meson does not create the 'version' file expected by the doxygen build
script.  Create it ourselves.

Closes: https://bugs.gentoo.org/703842
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild 
b/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild
index 311eab1e812..3d6b686bd9c 100644
--- a/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild
+++ b/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild
@@ -35,7 +35,7 @@ src_compile() {
        meson_src_compile
 
        if use doc; then
-               cp "${BUILD_DIR}"/version . || die
+               echo "${PV}" > version || die
                "${EPYTHON}" doxybuild.py 
--doxygen="${EPREFIX}"/usr/bin/doxygen || die
                HTML_DOCS=( dist/doxygen/jsoncpp*/. )
        fi

Reply via email to