summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power')
-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() {