net-fs/davfs2: leave manpage compression to the package manager
authorGöktürk Yüksek <gokturk@gentoo.org>
Tue, 12 Mar 2019 19:36:36 +0000 (15:36 -0400)
committerGöktürk Yüksek <gokturk@gentoo.org>
Wed, 13 Mar 2019 00:41:36 +0000 (20:41 -0400)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
net-fs/davfs2/davfs2-1.5.5.ebuild

index 6ac96a881c3ee5ca0cbf3f205e1b7823189dc6e7..3ef5dd25f0037145e4c4b7428a1aa3bbf1831a4e 100644 (file)
@@ -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)
 }