Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 505366 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +6 lines)
Line  Link Here
0
-- /usr/portage/sys-power/powertop/powertop-2.5.ebuild
0
++ /usr/local/portage/sys-power/powertop/powertop-2.5.ebuild
Lines 19-25 Link Here
19
19
20
LICENSE="GPL-2"
20
LICENSE="GPL-2"
21
SLOT="0"
21
SLOT="0"
22
IUSE="unicode X"
22
IUSE="nls unicode X"
23
23
24
COMMON_DEPEND="
24
COMMON_DEPEND="
25
	dev-libs/libnl:3
25
	dev-libs/libnl:3
Lines 29-35 Link Here
29
29
30
DEPEND="${COMMON_DEPEND}
30
DEPEND="${COMMON_DEPEND}
31
	virtual/pkgconfig
31
	virtual/pkgconfig
32
	sys-devel/gettext
32
	nls? ( sys-devel/gettext )
33
"
33
"
34
RDEPEND="
34
RDEPEND="
35
	${COMMON_DEPEND}
35
	${COMMON_DEPEND}
Lines 88-100 Link Here
88
}
88
}
89
89
90
src_prepare() {
90
src_prepare() {
91
	epatch "${FILESDIR}"/powertop-2.4-tinfo.patch
91
	epatch "${FILESDIR}/${PN}-2.4-tinfo.patch"
92
	epatch "${FILESDIR}/${PN}-2.5-nls.patch"
92
	eautoreconf
93
	eautoreconf
93
}
94
}
94
95
95
src_configure() {
96
src_configure() {
96
	export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
97
	export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
97
	default
98
	econf $(use_enable nls)
98
}
99
}
99
100
100
src_install() {
101
src_install() {

Return to bug 505366