commit:     6922f21531c9ab4bb8adefe56e41e301dba3b33c
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 19:36:36 2019 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 00:41:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6922f215

net-fs/davfs2: leave manpage compression to the package manager

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

 net-fs/davfs2/davfs2-1.5.5.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/net-fs/davfs2/davfs2-1.5.5.ebuild 
b/net-fs/davfs2/davfs2-1.5.5.ebuild
index 6ac96a881c3..3ef5dd25f00 100644
--- a/net-fs/davfs2/davfs2-1.5.5.ebuild
+++ b/net-fs/davfs2/davfs2-1.5.5.ebuild
@@ -28,6 +28,14 @@ pkg_setup() {
        enewgroup davfs2
 }
 
+src_prepare() {
+       # Let the package manager handle man page compression
+       sed -e '/^manual[58]_DATA/ s/\.gz//g' \
+               -i "${S}"/man/Makefile.in || die
+
+       default
+}
+
 src_configure() {
        econf dav_user=nobody --enable-largefile $(use_enable nls)
 }

Reply via email to