commit: 42795b6061170e10b0ec74e15e5bf6bb02cd45eb Author: Marco Scardovi <marco <AT> scardovi <DOT> com> AuthorDate: Sat Jun 26 19:25:37 2021 +0000 Commit: Marco Scardovi <marco <AT> scardovi <DOT> com> CommitDate: Sat Jun 26 19:25:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42795b60
net-dialup/atinout: fix calls cc directly Closes: https://bugs.gentoo.org/798795 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco <AT> scardovi.com> net-dialup/atinout/atinout-0.9.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net-dialup/atinout/atinout-0.9.1.ebuild b/net-dialup/atinout/atinout-0.9.1.ebuild index 1232e50b8..77408bdff 100644 --- a/net-dialup/atinout/atinout-0.9.1.ebuild +++ b/net-dialup/atinout/atinout-0.9.1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="AT commands as input are sent to modem and responses given as output" HOMEPAGE="http://atinout.sourceforge.net/index.html" SRC_URI="https://netix.dl.sourceforge.net/project/atinout/v0.9.1/${P}.tar.gz" @@ -16,4 +18,6 @@ PATCHES=( "${FILESDIR}"/0002-do-not-rely-on-CR-in-modem-output.patch ) -QA_PREBUILT="/usr/bin/atinout" +src_compile() { + CC="$(tc-getCC)" emake LDFLAGS="${LDFLAGS}" +}