summaryrefslogtreecommitdiff
path: root/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
commitb17a3ef12038de50228bade1f05502c74e135321 (patch)
tree9026dffec53f92cba48ca9a500a4f778e6304380 /dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild
parent3cf7c3ef441822c889356fd1812ebf2944a59851 (diff)
gentoo resync : 02.09.2020
Diffstat (limited to 'dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild')
-rw-r--r--dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild b/dev-util/editorconfig-geany/editorconfig-geany-0.2.ebuild
index 3e1268e041e6..cc715d422e3c 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[^\`]*\`||" \