1 |
commit: 5427734922c03f5b28cf432a9c33b4b3b54f824a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 28 20:22:40 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 28 20:23:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54277349 |
7 |
|
8 |
dev-libs/jsoncpp: Fix building docs with meson |
9 |
|
10 |
Meson does not create the 'version' file expected by the doxygen build |
11 |
script. Create it ourselves. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/703842 |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild |
20 |
index 311eab1e812..3d6b686bd9c 100644 |
21 |
--- a/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild |
22 |
+++ b/dev-libs/jsoncpp/jsoncpp-1.9.2-r2.ebuild |
23 |
@@ -35,7 +35,7 @@ src_compile() { |
24 |
meson_src_compile |
25 |
|
26 |
if use doc; then |
27 |
- cp "${BUILD_DIR}"/version . || die |
28 |
+ echo "${PV}" > version || die |
29 |
"${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die |
30 |
HTML_DOCS=( dist/doxygen/jsoncpp*/. ) |
31 |
fi |