From 3042eb961ee68ff8228b1a1a6a5ad842b4e8f1c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= Date: Tue, 5 May 2020 21:25:09 -0400 Subject: [PATCH] net-fs/davfs2: prevent the compression of man for all supported langs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.69, Repoman-2.3.14 Signed-off-by: Göktürk Yüksek --- .../davfs2/{davfs2-1.5.6.ebuild => davfs2-1.5.6-r1.ebuild} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename net-fs/davfs2/{davfs2-1.5.6.ebuild => davfs2-1.5.6-r1.ebuild} (87%) 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 6f227c812123..1786c1a079ae 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 -- 2.26.2