diff options
author | Yixun Lan <dlan@gentoo.org> | 2023-01-04 12:14:48 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2023-01-04 12:19:52 +0800 |
commit | 9b9fea398103ffc4d09ef56d0a63e33a68a1c6b1 (patch) | |
tree | 83941d36bdf4f481f22ab21f2a91443060bb78b4 /dev-util/trace-cmd | |
parent | sci-mathematics/eprover: new package; add 3.0_pre008 (diff) | |
download | gentoo-9b9fea398103ffc4d09ef56d0a63e33a68a1c6b1.tar.gz gentoo-9b9fea398103ffc4d09ef56d0a63e33a68a1c6b1.tar.bz2 gentoo-9b9fea398103ffc4d09ef56d0a63e33a68a1c6b1.zip |
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@gentoo.org>
Diffstat (limited to 'dev-util/trace-cmd')
-rw-r--r-- | dev-util/trace-cmd/trace-cmd-3.1.4.ebuild | 13 | ||||
-rw-r--r-- | 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() { |