1 |
commit: 73d224eb9affdf42105a607550bb33ba3f19310a |
2 |
Author: brahmajit das <listout <AT> protonmail <DOT> com> |
3 |
AuthorDate: Thu Aug 18 18:28:21 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 18 18:42:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d224eb |
7 |
|
8 |
dev-libs/libtracefs: Fix wrong target install-doc and source-highlight dependency |
9 |
|
10 |
The make target install-doc is wrong and install_doc should be used |
11 |
in this package's case. |
12 |
|
13 |
gnu source-highlight is needed for source highlighting by asciidoc |
14 |
|
15 |
Closes: https://bugs.gentoo.org/865465 |
16 |
Closes: https://bugs.gentoo.org/865469 |
17 |
|
18 |
Signed-off-by: brahmajit das <listout <AT> protonmail.com> |
19 |
Closes: https://github.com/gentoo/gentoo/pull/26913 |
20 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
21 |
|
22 |
dev-libs/libtracefs/libtracefs-1.3.1.ebuild | 6 ++++-- |
23 |
1 file changed, 4 insertions(+), 2 deletions(-) |
24 |
|
25 |
diff --git a/dev-libs/libtracefs/libtracefs-1.3.1.ebuild b/dev-libs/libtracefs/libtracefs-1.3.1.ebuild |
26 |
index d5ffcefc4d9b..f3049d954da5 100644 |
27 |
--- a/dev-libs/libtracefs/libtracefs-1.3.1.ebuild |
28 |
+++ b/dev-libs/libtracefs/libtracefs-1.3.1.ebuild |
29 |
@@ -23,9 +23,10 @@ RDEPEND=" |
30 |
>=dev-libs/libtraceevent-1.3.0 |
31 |
" |
32 |
DEPEND="${RDEPEND}" |
33 |
+# source-highlight is needed, see bug https://bugs.gentoo.org/865469 |
34 |
BDEPEND=" |
35 |
virtual/pkgconfig |
36 |
- doc? ( app-text/xmlto app-text/asciidoc ) |
37 |
+ doc? ( app-text/xmlto app-text/asciidoc dev-util/source-highlight ) |
38 |
" |
39 |
|
40 |
PATCHES=( |
41 |
@@ -51,5 +52,6 @@ src_install() { |
42 |
emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install |
43 |
# can't prevent installation of the static lib with parameters |
44 |
rm "${ED}/usr/$(get_libdir)/libtracefs.a" || die |
45 |
- use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install-doc |
46 |
+ # install-doc is wrong target, see https://bugs.gentoo.org/865465 |
47 |
+ use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install_doc |
48 |
} |