commit:     3042eb961ee68ff8228b1a1a6a5ad842b4e8f1c2
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Wed May  6 01:25:09 2020 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed May  6 01:26:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3042eb96

net-fs/davfs2: prevent the compression of man for all supported langs

Package-Manager: Portage-2.3.69, Repoman-2.3.14
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>

 net-fs/davfs2/{davfs2-1.5.6.ebuild => davfs2-1.5.6-r1.ebuild} | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-fs/davfs2/davfs2-1.5.6.ebuild 
b/net-fs/davfs2/davfs2-1.5.6-r1.ebuild
similarity index 87%
rename from net-fs/davfs2/davfs2-1.5.6.ebuild
rename to net-fs/davfs2/davfs2-1.5.6-r1.ebuild
index 6f227c81212..1786c1a079a 100644
--- a/net-fs/davfs2/davfs2-1.5.6.ebuild
+++ b/net-fs/davfs2/davfs2-1.5.6-r1.ebuild
@@ -27,9 +27,12 @@ RDEPEND="${RDEPEND}
 "
 
 src_prepare() {
+       local f
+
        # Let the package manager handle man page compression
-       sed -e '/^manual[58]_DATA/ s/\.gz//g' \
-               -i "${S}"/man/Makefile.in || die
+       while IFS="" read -d $'\0' -r f ; do
+               sed -e '/^manual[58]_DATA/ s/[.]gz//g' -i "${f}" || die
+       done < <(find "${S}"/man -type f -name 'Makefile.in' -print0)
 
        eapply "${FILESDIR}"/${PN}-1.5.5-gcc-10.patch \
                   "${FILESDIR}"/${P}-neon31-support.patch

Reply via email to