summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-09-07 11:48:13 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-09-07 11:48:13 +0000
commit72d8d2595a77631cd9c58892d00f0ce394a95a88 (patch)
tree2672a6d73aab02d8c65c5eaa8599037a9cbf59ba /sys-power/powertop
parentAdd proper unicode flag handling. Fixes bug #415535 (diff)
downloadgentoo-2-72d8d2595a77631cd9c58892d00f0ce394a95a88.tar.gz
gentoo-2-72d8d2595a77631cd9c58892d00f0ce394a95a88.tar.bz2
gentoo-2-72d8d2595a77631cd9c58892d00f0ce394a95a88.zip
Revert back src_configure logic and ncurses dependency, make it correct. Thanks to leio for pointing on this issue
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/powertop')
-rw-r--r--sys-power/powertop/ChangeLog6
-rw-r--r--sys-power/powertop/powertop-2.1.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog
index 4f8860472413..5b0379b0b377 100644
--- a/sys-power/powertop/ChangeLog
+++ b/sys-power/powertop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.58 2012/09/07 11:27:23 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.59 2012/09/07 11:48:13 pinkbyte Exp $
+
+ 07 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> powertop-2.1.ebuild:
+ Revert back src_configure logic and ncurses dependency, make it correct.
+ Thanks to leio for pointing on this issue
07 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> powertop-2.1.ebuild:
Add proper unicode flag handling. Fixes bug #415535
diff --git a/sys-power/powertop/powertop-2.1.ebuild b/sys-power/powertop/powertop-2.1.ebuild
index 41690c918a30..69bf3f7b4e2d 100644
--- a/sys-power/powertop/powertop-2.1.ebuild
+++ b/sys-power/powertop/powertop-2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.1.ebuild,v 1.4 2012/09/07 11:27:23 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.1.ebuild,v 1.5 2012/09/07 11:48:13 pinkbyte Exp $
EAPI="4"
@@ -25,7 +25,7 @@ COMMON_DEPEND="
dev-libs/libnl:3
sys-apps/pciutils
sys-devel/gettext
- sys-libs/ncurses[unicode=]
+ sys-libs/ncurses[unicode?]
sys-libs/zlib
"
@@ -40,7 +40,7 @@ RDEPEND="
DOCS=( TODO README )
src_configure() {
- use unicode || export ac_cv_search_delwin=-lncurses
+ export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
default
}