powertop: Add depend ncurses (#20080)

This commit is contained in:
Tomoyasu Nojiri 2020-11-25 18:15:51 +09:00 committed by GitHub
parent 408824f365
commit 164fc4ee95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ class Powertop(AutotoolsPackage):
version('2.9', sha256='aa7fb7d8e9a00f05e7d8a7a2866d85929741e0d03a5bf40cab22d2021c959250')
depends_on('libnl')
depends_on('ncurses', type='link')
def setup_run_environment(self, env):
env.prepend_path('PATH', self.prefix.sbin)