commit:     01f98a2ce07d3047b7bd2c7e8bc41af631af1317
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 13:47:24 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 13:50:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f98a2c

dev-libs/input-pad: do not compress man pages

Closes: https://bugs.gentoo.org/734262
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 dev-libs/input-pad/files/input-pad-man.patch       | 23 ++++++++++++++++++++++
 .../input-pad/input-pad-1.0.99_pre20140916.ebuild  |  7 +++++--
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/dev-libs/input-pad/files/input-pad-man.patch 
b/dev-libs/input-pad/files/input-pad-man.patch
new file mode 100644
index 00000000000..f54580f776e
--- /dev/null
+++ b/dev-libs/input-pad/files/input-pad-man.patch
@@ -0,0 +1,23 @@
+--- a/input-pad/Makefile.am
++++ b/input-pad/Makefile.am
+@@ -226,19 +226,15 @@
+ endif
+ 
+ man_one_in_files = input-pad.1.in
+-man_one_files = $(man_one_in_files:.1.in=.1)
+-man_one_DATA =$(man_one_files:.1=.1.gz)
++man_one_DATA = $(man_one_in_files:.1.in=.1)
+ man_onedir = $(mandir)/man1
+ %.1: %.1.in
+       $(AM_V_GEN) sed \
+           -e 's|@VERSION[@]|$(VERSION)|g' $< > [email protected] && \
+           mv [email protected] $@
+-%.1.gz: %.1
+-      $(AM_V_GEN) gzip -c $< > [email protected] && mv [email protected] $@
+ 
+ CLEANFILES += \
+       $(BUILT_SOURCES)                                        \
+-      $(man_one_files)                                        \
+       $(man_one_DATA)                                         \
+       $(NULL)
+ 

diff --git a/dev-libs/input-pad/input-pad-1.0.99_pre20140916.ebuild 
b/dev-libs/input-pad/input-pad-1.0.99_pre20140916.ebuild
index f884a5d7fb2..1ee24ba778e 100644
--- a/dev-libs/input-pad/input-pad-1.0.99_pre20140916.ebuild
+++ b/dev-libs/input-pad/input-pad-1.0.99_pre20140916.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-inherit ltprune xdg-utils
+inherit autotools ltprune xdg-utils
 
 MY_P="${P/_pre/.}"
 MY_PV="${PV/_pre/.}"
@@ -33,8 +33,11 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig"
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=( "${FILESDIR}"/${PN}-man.patch )
+
 src_prepare() {
        default
+       eautoreconf
        xdg_environment_reset
 }
 

Reply via email to