diff options
author | brahmajit das <listout@protonmail.com> | 2022-08-18 23:58:21 +0530 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-18 19:42:14 +0100 |
commit | 73d224eb9affdf42105a607550bb33ba3f19310a (patch) | |
tree | ad7428f488524392303e3e2c321c09406290ecb4 /dev-libs | |
parent | dev-libs/json-parser: fix tests (diff) | |
download | gentoo-73d224eb9affdf42105a607550bb33ba3f19310a.tar.gz gentoo-73d224eb9affdf42105a607550bb33ba3f19310a.tar.bz2 gentoo-73d224eb9affdf42105a607550bb33ba3f19310a.zip |
dev-libs/libtracefs: Fix wrong target install-doc and source-highlight dependency
The make target install-doc is wrong and install_doc should be used
in this package's case.
gnu source-highlight is needed for source highlighting by asciidoc
Closes: https://bugs.gentoo.org/865465
Closes: https://bugs.gentoo.org/865469
Signed-off-by: brahmajit das <listout@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26913
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libtracefs/libtracefs-1.3.1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/libtracefs/libtracefs-1.3.1.ebuild b/dev-libs/libtracefs/libtracefs-1.3.1.ebuild index d5ffcefc4d9b..f3049d954da5 100644 --- a/dev-libs/libtracefs/libtracefs-1.3.1.ebuild +++ b/dev-libs/libtracefs/libtracefs-1.3.1.ebuild @@ -23,9 +23,10 @@ RDEPEND=" >=dev-libs/libtraceevent-1.3.0 " DEPEND="${RDEPEND}" +# source-highlight is needed, see bug https://bugs.gentoo.org/865469 BDEPEND=" virtual/pkgconfig - doc? ( app-text/xmlto app-text/asciidoc ) + doc? ( app-text/xmlto app-text/asciidoc dev-util/source-highlight ) " PATCHES=( @@ -51,5 +52,6 @@ src_install() { emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install # can't prevent installation of the static lib with parameters rm "${ED}/usr/$(get_libdir)/libtracefs.a" || die - use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install-doc + # install-doc is wrong target, see https://bugs.gentoo.org/865465 + use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install_doc } |