summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2020-02-28 21:19:13 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-03-03 16:53:42 +0200
commit70eb2cbbd7cde3aa50ab2d9d763213edfa600a56 (patch)
tree63836fc9fb70db3ac19d76170e5b0362c30d2a8e /sys-power
parentsys-power/powerstat: version bump to 0.02.22 (diff)
downloadgentoo-70eb2cbbd7cde3aa50ab2d9d763213edfa600a56.tar.gz
gentoo-70eb2cbbd7cde3aa50ab2d9d763213edfa600a56.tar.bz2
gentoo-70eb2cbbd7cde3aa50ab2d9d763213edfa600a56.zip
sys-power/powerstat: update live ebuild
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua> Closes: https://github.com/gentoo/gentoo/pull/14798 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powerstat/powerstat-9999.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys-power/powerstat/powerstat-9999.ebuild b/sys-power/powerstat/powerstat-9999.ebuild
index d86952ed42b3..b3ef9d2bcb8b 100644
--- a/sys-power/powerstat/powerstat-9999.ebuild
+++ b/sys-power/powerstat/powerstat-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,8 +16,14 @@ SLOT="0"
KEYWORDS=""
IUSE=""
-# Don't compress manpages
-PATCHES=( "${FILESDIR}"/"${PN}"-0.02.17-makefile.patch )
+src_prepare() {
+ default
+
+ # Don't compress manpages
+ sed -i -e '/install:/s/ powerstat.8.gz//' \
+ -e '/cp powerstat.8/s/.gz//' \
+ Makefile || die "sed failed"
+}
src_compile() {
emake CC="$(tc-getCC)"