summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2018-06-10 23:23:31 +0300
committerMichał Górny <mgorny@gentoo.org>2018-06-11 08:24:12 +0200
commit9adcb263a49c38c780afb6d5a8e5218292d914cd (patch)
tree8ced394425ac26430365c1bf16dfd7bbd6590465 /sys-power/powerstat
parentsys-power/powerstat: version bump to 0.02.17 (EAPI 7) (diff)
downloadgentoo-9adcb263a49c38c780afb6d5a8e5218292d914cd.tar.gz
gentoo-9adcb263a49c38c780afb6d5a8e5218292d914cd.tar.bz2
gentoo-9adcb263a49c38c780afb6d5a8e5218292d914cd.zip
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
Diffstat (limited to 'sys-power/powerstat')
-rw-r--r--sys-power/powerstat/files/powerstat-0.02.17-makefile.patch13
-rw-r--r--sys-power/powerstat/powerstat-0.02.17.ebuild3
-rw-r--r--sys-power/powerstat/powerstat-9999.ebuild5
3 files changed, 20 insertions, 1 deletions
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 000000000000..1134a814d027
--- /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 0c1e4dce0df6..4d2dc7ae7ca7 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 e2ffd11a5f6a..502040bb982d 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)"
}