sys-power/powertop: fix live ebuild to match releases
authorZero_Chaos <zerochaos@gentoo.org>
Wed, 2 Dec 2015 16:46:10 +0000 (11:46 -0500)
committerZero_Chaos <zerochaos@gentoo.org>
Wed, 2 Dec 2015 16:50:17 +0000 (11:50 -0500)
Package-Manager: portage-2.2.26

sys-power/powertop/powertop-9999.ebuild

index b3011ffb230d37b81db065119fd7c40eb6046477..4a5c4722ee5f67d359041f958bc08bc7219ccb8f 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI="5"
 
-inherit eutils linux-info autotools
+inherit eutils linux-info
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="git://github.com/fenrus75/powertop.git"
        inherit git-2 autotools
@@ -19,7 +19,7 @@ HOMEPAGE="https://01.org/powertop/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="unicode X"
+IUSE="nls unicode X"
 
 COMMON_DEPEND="
        dev-libs/libnl:3
@@ -100,5 +100,5 @@ src_prepare() {
 
 src_configure() {
        export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
-       default
+       econf $(use_enable nls)
 }