commit: 5f5f33bef153d5afec4c4cacb1d79542eb51b2e8 Author: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna <DOT> net> AuthorDate: Thu Apr 22 15:11:52 2021 +0000 Commit: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna <DOT> net> CommitDate: Thu Apr 22 15:11:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f5f33be
app-misc/brightnessctl: fix cc direct call Closes: https://bugs.gentoo.org/784821 Signed-off-by: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna.net> app-misc/brightnessctl/brightnessctl-0.5.1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild index 0546b3ac0..04c56bbe6 100644 --- a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild +++ b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="A program to read and control device brightness" HOMEPAGE="https://github.com/Hummer12007/brightnessctl" SRC_URI="https://github.com/Hummer12007/brightnessctl/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -22,6 +24,7 @@ BDEPEND=" " src_compile() { + tc-export CC use systemd && export ENABLE_SYSTEMD=1 emake } @@ -39,6 +42,6 @@ src_install() { myconf="INSTALL_UDEV_RULES=0" fi - emake install ${myconf} DESTDIR="${D}" + emake ${myconf} DESTDIR="${D}" install dodoc README.md }