summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/powertop/powertop-2.1.ebuild')
-rw-r--r--sys-power/powertop/powertop-2.1.ebuild6
1 files changed, 3 insertions, 3 deletions
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
}