diff options
author | Mike Gilbert <floppym@gentoo.org> | 2015-12-03 11:36:36 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2015-12-03 11:36:50 -0500 |
commit | dd2de2ffdae5780a62a204a4b0d49563352b7452 (patch) | |
tree | ddbe4b88b02e95d8e02abae2515956221323187b /sys-power/cpupower | |
parent | sys-kernel/spl + sys-fs/zfs{,-kmod}: Partial stable /dev/zfs API + backports (diff) | |
download | gentoo-dd2de2ffdae5780a62a204a4b0d49563352b7452.tar.gz gentoo-dd2de2ffdae5780a62a204a4b0d49563352b7452.tar.bz2 gentoo-dd2de2ffdae5780a62a204a4b0d49563352b7452.zip |
sys-power/cpupower: Add LINUGUAS support
Bug: https://bugs.gentoo.org/531516
Package-Manager: portage-2.2.26_p10
Diffstat (limited to 'sys-power/cpupower')
-rw-r--r-- | sys-power/cpupower/cpupower-4.2.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-power/cpupower/cpupower-4.2.ebuild b/sys-power/cpupower/cpupower-4.2.ebuild index 7634782d0581..e16df5349546 100644 --- a/sys-power/cpupower/cpupower-4.2.ebuild +++ b/sys-power/cpupower/cpupower-4.2.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI=5 -inherit multilib toolchain-funcs +inherit eutils multilib toolchain-funcs DESCRIPTION="Shows and sets processor power related values" HOMEPAGE="https://www.kernel.org/" @@ -40,6 +40,12 @@ src_compile() { LDFLAGS="${LDFLAGS}" OPTIMIZATION="${CFLAGS}" ) + + if [[ -n ${LINGUAS+set} ]]; then + strip-linguas -i po + myemakeargs+=( LANGUAGES="${LINGUAS}" ) + fi + emake "${myemakeargs[@]}" } |