app-misc/brightnessctl: fix cc direct call

Closes: https://bugs.gentoo.org/784821
Signed-off-by: Octiabrina Terrien-Puig <octiabrina@myrvogna.net>
This commit is contained in:
Octiabrina Terrien-Puig
2021-04-22 17:11:52 +02:00
parent 77d7cb50a8
commit 5f5f33bef1

View File

@@ -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
}