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
This commit is contained in:
Vladimir Pavljuchenkov (SpiderX)
2018-06-10 23:23:31 +03:00
committed by Michał Górny
parent 59afb293e5
commit 9adcb263a4
3 changed files with 20 additions and 1 deletions

View File

@@ -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}

View File

@@ -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)"
}

View File

@@ -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)"
}