commit:     9adcb263a49c38c780afb6d5a8e5218292d914cd
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp 
<DOT> ua>
AuthorDate: Sun Jun 10 20:23:31 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 06:24:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9adcb263

sys-power/powerstat: don't compress manpages

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8716

 sys-power/powerstat/files/powerstat-0.02.17-makefile.patch | 13 +++++++++++++
 sys-power/powerstat/powerstat-0.02.17.ebuild               |  3 +++
 sys-power/powerstat/powerstat-9999.ebuild                  |  5 ++++-
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/sys-power/powerstat/files/powerstat-0.02.17-makefile.patch 
b/sys-power/powerstat/files/powerstat-0.02.17-makefile.patch
new file mode 100644
index 00000000000..1134a814d02
--- /dev/null
+++ b/sys-power/powerstat/files/powerstat-0.02.17-makefile.patch
@@ -0,0 +1,13 @@
+--- a/Makefile 2018-06-11 07:57:10.308456253 +0300
++++ b/Makefile 2018-06-11 07:57:51.277432564 +0300
+@@ -51,8 +51,8 @@
+       rm -f powerstat powerstat.o powerstat.8.gz
+       rm -f powerstat-$(VERSION).tar.gz
+ 
+-install: powerstat powerstat.8.gz
++install: powerstat
+       mkdir -p ${DESTDIR}${BINDIR}
+       cp powerstat ${DESTDIR}${BINDIR}
+       mkdir -p ${DESTDIR}${MANDIR}
+-      cp powerstat.8.gz ${DESTDIR}${MANDIR}
++      cp powerstat.8 ${DESTDIR}${MANDIR}

diff --git a/sys-power/powerstat/powerstat-0.02.17.ebuild 
b/sys-power/powerstat/powerstat-0.02.17.ebuild
index 0c1e4dce0df..4d2dc7ae7ca 100644
--- a/sys-power/powerstat/powerstat-0.02.17.ebuild
+++ b/sys-power/powerstat/powerstat-0.02.17.ebuild
@@ -14,6 +14,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
+# Don't compress manpages
+PATCHES=( "${FILESDIR}"/"${P}"-makefile.patch )
+
 src_compile() {
        emake CC="$(tc-getCC)"
 }

diff --git a/sys-power/powerstat/powerstat-9999.ebuild 
b/sys-power/powerstat/powerstat-9999.ebuild
index e2ffd11a5f6..502040bb982 100644
--- a/sys-power/powerstat/powerstat-9999.ebuild
+++ b/sys-power/powerstat/powerstat-9999.ebuild
@@ -16,6 +16,9 @@ SLOT="0"
 KEYWORDS=""
 IUSE=""
 
+# Don't compress manpages
+PATCHES=( "${FILESDIR}"/"${PN}"-0.02.17-makefile.patch )
+
 src_compile() {
-       emake CC=$(tc-getCC)
+       emake CC="$(tc-getCC)"
 }

Reply via email to