mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-power/cpupower: Add LINUGUAS support
Bug: https://bugs.gentoo.org/531516 Package-Manager: portage-2.2.26_p10
This commit is contained in:
@@ -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[@]}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user