Diff powertop-2.15 with a powertop-9999

/usr/portage/sys-power/powertop/powertop-9999.ebuild 2023-10-09 14:52:35.572368503 +0300
10 10
	SRC_URI=""
11 11
else
12 12
	SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
13
	KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux"
13
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
14 14
fi
15 15

  
16
inherit autotools ${GIT_ECLASS} flag-o-matic linux-info
16
inherit autotools ${GIT_ECLASS} linux-info
17 17

  
18 18
DESCRIPTION="tool to diagnose issues with power consumption and power management"
19 19
HOMEPAGE="https://github.com/fenrus75/powertop/"
20 20

  
21 21
LICENSE="GPL-2"
22 22
SLOT="0"
23
IUSE="nls X"
23
IUSE="nls unicode X"
24 24

  
25 25
DEPEND="
26 26
	dev-libs/libnl:3
27 27
	sys-apps/pciutils
28
	sys-libs/ncurses:=[unicode(+)]
28
	sys-libs/ncurses:=[unicode(+)?]
29 29
"
30 30

  
31 31
BDEPEND="
......
39 39
	virtual/libintl
40 40
"
41 41

  
42
PATCHES=(
43
	"${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch
44
)
45

  
46 42
pkg_setup() {
47 43
	CONFIG_CHECK="
48 44
		~X86_MSR
......
108 104
}
109 105

  
110 106
src_configure() {
111
	append-lfs-flags
107
	export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
112 108
	econf $(use_enable nls)
113 109
}
Thank you!