From 5427734922c03f5b28cf432a9c33b4b3b54f824a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 28 Dec 2019 21:22:40 +0100 Subject: [PATCH] dev-libs/jsoncpp: Fix building docs with meson MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- 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 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 -- 2.26.2