commit: 9b9fea398103ffc4d09ef56d0a63e33a68a1c6b1 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Wed Jan 4 04:14:48 2023 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Wed Jan 4 04:19:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9fea39
dev-util/trace-cmd: fix doc issue 1) fix the man pages's wrong installation path 2) pull source-highlight as dependency Closes: https://bugs.gentoo.org/868168 Closes: https://bugs.gentoo.org/873007 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> dev-util/trace-cmd/trace-cmd-3.1.4.ebuild | 13 +++++++++++-- dev-util/trace-cmd/trace-cmd-3.1.5.ebuild | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/dev-util/trace-cmd/trace-cmd-3.1.4.ebuild b/dev-util/trace-cmd/trace-cmd-3.1.4.ebuild index f13210697f74..308eb115628e 100644 --- a/dev-util/trace-cmd/trace-cmd-3.1.4.ebuild +++ b/dev-util/trace-cmd/trace-cmd-3.1.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -43,7 +43,10 @@ DEPEND="${RDEPEND} BDEPEND=" virtual/pkgconfig python? ( dev-lang/swig ) - doc? ( app-text/asciidoc ) + doc? ( + app-text/asciidoc + dev-util/source-highlight + ) " # having trouble getting tests to compile @@ -65,7 +68,13 @@ pkg_setup() { src_prepare() { default sed -r -e 's:([[:space:]]+)install_bash_completion($|[[:space:]]+):\1:' \ + -e '/^prefix/s:/usr/local:/usr:g' \ -i Makefile || die "sed failed" + + sed -i -e "s|^htmldir.*|&-${PVR}|g" \ + -e "s|^pdfdir.*|&-${PVR}|g" \ + Documentation/libtracecmd/Makefile \ + Documentation/trace-cmd/Makefile || die } src_configure() { diff --git a/dev-util/trace-cmd/trace-cmd-3.1.5.ebuild b/dev-util/trace-cmd/trace-cmd-3.1.5.ebuild index b608032b58bf..63c0354925ab 100644 --- a/dev-util/trace-cmd/trace-cmd-3.1.5.ebuild +++ b/dev-util/trace-cmd/trace-cmd-3.1.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -43,7 +43,10 @@ DEPEND="${RDEPEND} BDEPEND=" virtual/pkgconfig python? ( dev-lang/swig ) - doc? ( app-text/asciidoc ) + doc? ( + app-text/asciidoc + dev-util/source-highlight + ) " # having trouble getting tests to compile @@ -65,7 +68,13 @@ pkg_setup() { src_prepare() { default sed -r -e 's:([[:space:]]+)install_bash_completion($|[[:space:]]+):\1:' \ + -e '/^prefix/s:/usr/local:/usr:g' \ -i Makefile || die "sed failed" + + sed -i -e "s|^htmldir.*|&-${PVR}|g" \ + -e "s|^pdfdir.*|&-${PVR}|g" \ + Documentation/libtracecmd/Makefile \ + Documentation/trace-cmd/Makefile || die } src_configure() {
