diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2024-04-29 11:26:20 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2024-04-29 20:48:56 +0200 |
commit | d06dc1b0de375ceeccc4f21b0d4e7220000809a8 (patch) | |
tree | b4b4da86d7ea5477ea8d322d0dd8c2f46d39bf26 /dev-util/bpftool | |
parent | dev-util/bpftool: add 6.8.2 (diff) | |
download | gentoo-d06dc1b0de375ceeccc4f21b0d4e7220000809a8.tar.gz gentoo-d06dc1b0de375ceeccc4f21b0d4e7220000809a8.tar.bz2 gentoo-d06dc1b0de375ceeccc4f21b0d4e7220000809a8.zip |
dev-util/bpftool: Workaround rst2man extension change
Thanks to Ionen and Holger for providing the patch.
Closes: https://bugs.gentoo.org/930076
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-util/bpftool')
-rw-r--r-- | dev-util/bpftool/bpftool-6.8.2.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/bpftool/bpftool-6.8.2.ebuild b/dev-util/bpftool/bpftool-6.8.2.ebuild index acd42e33726c..0f0a2decef13 100644 --- a/dev-util/bpftool/bpftool-6.8.2.ebuild +++ b/dev-util/bpftool/bpftool-6.8.2.ebuild @@ -87,8 +87,8 @@ src_prepare() { popd || die fi - # dev-python/docutils installs rst2man.py, not rst2man - sed -i -e 's/rst2man/rst2man.py/g' Documentation/Makefile || die + # Use rst2man or rst2man.py depending on which one exists (#930076) + type -P rst2man >/dev/null || sed -i -e 's/rst2man/rst2man.py/g' # remove -Werror (bug 887981) sed -i -e 's/\-Werror//g' ../../lib/bpf/Makefile || die |