From: Michał Górny Date: Sat, 28 Dec 2019 20:22:40 +0000 (+0100) Subject: dev-libs/jsoncpp: Fix building docs with meson X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5427734922c03f5b28cf432a9c33b4b3b54f824a;p=gentoo.git 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 --- diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild index 311eab1e8127..3d6b686bd9c6 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