1 |
commit: 9a9af3c630d780bbdcf6ced300008c6af2a078d3 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 19:43:10 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 19:44:10 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a9af3c6 |
7 |
|
8 |
dev-util/editorconfig-geany: Fix direct cc call |
9 |
|
10 |
Closes: https://bugs.gentoo.org/739666 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild b/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild |
18 |
index 3e1268e041e..cc715d422e3 100644 |
19 |
--- a/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild |
20 |
+++ b/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -23,6 +23,7 @@ S=${WORKDIR}/${PN}-${EGIT_COMMIT#v} |
28 |
src_prepare() { |
29 |
eapply_user |
30 |
sed -e "s|^\\(EDITORCONFIG_PREFIX =\\).*|\\1 ${EPREFIX}/usr|" \ |
31 |
+ -e "s|\\bcc\\b|$(tc-getCC)|" \ |
32 |
-e "s|^\\(CFLAGS =\\).*|\\1 -fPIC $("$(tc-getPKG_CONFIG)" --cflags geany geany) ${CFLAGS}|" \ |
33 |
-e "s|^\\(LDFLAGS =.*\\)|\\1 ${LDFLAGS}|" \ |
34 |
-e "s|\`pkg-config[^\`]*\`||" \ |