commit:     d0958febe6ef1f726c63e19cad81f49b75f594a3
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 12:49:26 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 13:41:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0958feb

net-dns/dnsviz: fix /usr/share/doc installdir

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild 
b/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild
index 05677e4ef83..c2613635b24 100644
--- a/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild
+++ b/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild
@@ -27,7 +27,10 @@ PATCHES=( "${FILESDIR}"/${PN}-0.8.2-add-ed448-support.patch )
 
 python_prepare_all() {
        # Fix the ebuild to use correct FHS/Gentoo policy paths for 0.8.2
-       sed -i "s*share/doc/dnsviz*share/doc/dnsviz-${PV}*g" "${S}"/setup.py || 
die
+       sed -i \
+               -e "s|share/doc/dnsviz|share/doc/${PF}|g" \
+                       "${S}"/setup.py \
+                       || die
 
        distutils-r1_python_prepare_all
 }

Reply via email to