commit:     9a9af3c630d780bbdcf6ced300008c6af2a078d3
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 19:43:10 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 19:44:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a9af3c6

dev-util/editorconfig-geany: Fix direct cc call

Closes: https://bugs.gentoo.org/739666
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild 
b/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild
index 3e1268e041e..cc715d422e3 100644
--- a/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild
+++ b/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,6 +23,7 @@ S=${WORKDIR}/${PN}-${EGIT_COMMIT#v}
 src_prepare() {
        eapply_user
        sed -e "s|^\\(EDITORCONFIG_PREFIX =\\).*|\\1 ${EPREFIX}/usr|" \
+               -e "s|\\bcc\\b|$(tc-getCC)|" \
                -e "s|^\\(CFLAGS =\\).*|\\1 -fPIC $("$(tc-getPKG_CONFIG)" 
--cflags geany geany) ${CFLAGS}|" \
                -e "s|^\\(LDFLAGS =.*\\)|\\1 ${LDFLAGS}|" \
                -e "s|\`pkg-config[^\`]*\`||" \

Reply via email to