summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2015-12-02 12:00:10 -0500
committerZero_Chaos <zerochaos@gentoo.org>2015-12-02 12:00:10 -0500
commit9677d2ed8f947fc845bc2c72f6cd56f35d51ab1f (patch)
treefa8318940766d4e6dddb94360179ad47b1606a90 /sys-power/powertop
parentsys-power/powertop: fix actual repoman issues (diff)
downloadgentoo-9677d2ed8f947fc845bc2c72f6cd56f35d51ab1f.tar.gz
gentoo-9677d2ed8f947fc845bc2c72f6cd56f35d51ab1f.tar.bz2
gentoo-9677d2ed8f947fc845bc2c72f6cd56f35d51ab1f.zip
sys-power/powertop: merge latest release and live ebuild
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-power/powertop')
-rw-r--r--sys-power/powertop/powertop-2.8.ebuild8
-rw-r--r--sys-power/powertop/powertop-9999.ebuild6
2 files changed, 13 insertions, 1 deletions
diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild
index 91a6287adc81..a53eb03cb036 100644
--- a/sys-power/powertop/powertop-2.8.ebuild
+++ b/sys-power/powertop/powertop-2.8.ebuild
@@ -94,6 +94,14 @@ pkg_setup() {
fi
}
+src_prepare() {
+ if [[ ${PV} == "9999" ]] ; then
+ eautoreconf
+ else
+ default
+ fi
+}
+
src_configure() {
export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
econf $(use_enable nls)
diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild
index 53a9e0c0a11d..a53eb03cb036 100644
--- a/sys-power/powertop/powertop-9999.ebuild
+++ b/sys-power/powertop/powertop-9999.ebuild
@@ -95,7 +95,11 @@ pkg_setup() {
}
src_prepare() {
- eautoreconf
+ if [[ ${PV} == "9999" ]] ; then
+ eautoreconf
+ else
+ default
+ fi
}
src_configure() {