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 | |
parent | 56ff62daca4803ffcfcddcd88b8322462ba3ddf1 (diff) | |
download | gentoo-dd2de2ffdae5780a62a204a4b0d49563352b7452.tar.gz gentoo-dd2de2ffdae5780a62a204a4b0d49563352b7452.tar.xz |
sys-power/cpupower: Add LINUGUAS support
Bug: https://bugs.gentoo.org/531516
Package-Manager: portage-2.2.26_p10
-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 7634782d058..e16df534954 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[@]}" } |