summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-10-07 03:53:05 +0000
committerSam James <sam@gentoo.org>2020-10-07 03:53:05 +0000
commit010ed7e99899bc454a50859334b9762a4485d445 (patch)
tree71f897bf274af79398421edbacc568dfbd35a97b /sys-fs/rar2fs
parentdev-util/rt-tests: Drop old (diff)
downloadgentoo-010ed7e99899bc454a50859334b9762a4485d445.tar.gz
gentoo-010ed7e99899bc454a50859334b9762a4485d445.tar.bz2
gentoo-010ed7e99899bc454a50859334b9762a4485d445.zip
sys-fs/rar2fs: don't compress man pages
Closes: https://bugs.gentoo.org/732208 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/rar2fs')
-rw-r--r--sys-fs/rar2fs/files/rar2fs-1.29.1-no-compress-man.patch11
-rw-r--r--sys-fs/rar2fs/rar2fs-1.29.1.ebuild11
2 files changed, 22 insertions, 0 deletions
diff --git a/sys-fs/rar2fs/files/rar2fs-1.29.1-no-compress-man.patch b/sys-fs/rar2fs/files/rar2fs-1.29.1-no-compress-man.patch
new file mode 100644
index 000000000000..dac49db0e0fd
--- /dev/null
+++ b/sys-fs/rar2fs/files/rar2fs-1.29.1-no-compress-man.patch
@@ -0,0 +1,11 @@
+diff --git a/m4/m4_ac_prog_gzip.m4 b/m4/m4_ac_prog_gzip.m4
+index 32ffc37..f5589bc 100644
+--- a/m4/m4_ac_prog_gzip.m4
++++ b/m4/m4_ac_prog_gzip.m4
+@@ -1,5 +1,5 @@
+ AC_DEFUN([AC_PROG_GZIP],[
+-AC_CHECK_PROGS(gzip,[gzip],no)
++gzip="no"
+ export gzip;
+ AM_CONDITIONAL([HAVE_GZIP], [test x$gzip != xno])
+ AC_SUBST(gzip)
diff --git a/sys-fs/rar2fs/rar2fs-1.29.1.ebuild b/sys-fs/rar2fs/rar2fs-1.29.1.ebuild
index e7b7be74efd1..cc417da24599 100644
--- a/sys-fs/rar2fs/rar2fs-1.29.1.ebuild
+++ b/sys-fs/rar2fs/rar2fs-1.29.1.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit autotools
+
DESCRIPTION="A FUSE based filesystem that can mount one or multiple RAR archive(s)"
HOMEPAGE="https://hasse69.github.io/rar2fs/ https://github.com/hasse69/rar2fs"
SRC_URI="https://github.com/hasse69/${PN}/releases/download/v${PV}/${P}.tar.gz"
@@ -19,6 +21,15 @@ RDEPEND=">=app-arch/unrar-5:=
sys-fs/fuse:0"
DEPEND="${RDEPEND}"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.29.1-no-compress-man.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
export USER_CFLAGS="${CFLAGS}"