commit:     a60867b3db254b7b257c3edd7a82ea98b2f0d4f4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 05:12:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 05:21:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60867b3

media-sound/aucatctl: respect CC

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/aucatctl/aucatctl-0.1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/media-sound/aucatctl/aucatctl-0.1.ebuild 
b/media-sound/aucatctl/aucatctl-0.1.ebuild
index 1357fbb643e..a04a482f9d1 100644
--- a/media-sound/aucatctl/aucatctl-0.1.ebuild
+++ b/media-sound/aucatctl/aucatctl-0.1.ebuild
@@ -1,11 +1,14 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="A tool for controlling aucat and/or sndiod volume through MIDI"
 HOMEPAGE="http://www.sndio.org/";
 SRC_URI="http://www.sndio.org/${P}.tar.gz";
+
 LICENSE="ISC"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -25,3 +28,8 @@ src_prepare() {
                -e 's?LDADD = -lsndio?LDADD = -lbsd -lsndio?' \
                Makefile || die "Failed modifying Makefile"
 }
+
+src_compile() {
+       tc-export CC
+       default
+}

Reply via email to