summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-12-12 21:54:31 -0500
committerMike Gilbert <floppym@gentoo.org>2020-12-14 11:45:15 -0500
commit8de56a6ce69708d679352ca879c18fc5298095e5 (patch)
treeb4c12f6c2e6cdf339d3ac0141fada43f65da5766 /gnome-base
parentxfce-base/garcon: Update icon cache (diff)
downloadgentoo-8de56a6ce69708d679352ca879c18fc5298095e5.tar.gz
gentoo-8de56a6ce69708d679352ca879c18fc5298095e5.tar.bz2
gentoo-8de56a6ce69708d679352ca879c18fc5298095e5.zip
gnome-base/gnome-panel: fix quoting for pkg-config
Bug: https://bugs.gentoo.org/756238 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gnome-panel/gnome-panel-3.36.2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnome-base/gnome-panel/gnome-panel-3.36.2.ebuild b/gnome-base/gnome-panel/gnome-panel-3.36.2.ebuild
index a2d70aaaaf63..c33ffe3fbb7c 100644
--- a/gnome-base/gnome-panel/gnome-panel-3.36.2.ebuild
+++ b/gnome-base/gnome-panel/gnome-panel-3.36.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eapi7-ver gnome2
+inherit eapi7-ver gnome2 toolchain-funcs
DESCRIPTION="The GNOME Flashback Panel"
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-panel/"
@@ -61,9 +61,10 @@ src_configure() {
fi
if use elogind; then
+ local pkgconfig="$(tc-getPKG_CONFIG)"
myconf+=(
- MENU_CFLAGS=`pkg-config --cflags gdm gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 libelogind 2>/dev/null`
- MENU_LIBS=`pkg-config --libs gdm gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 libelogind 2>/dev/null`
+ MENU_CFLAGS="$(${pkgconfig} --cflags gdm gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 libelogind)"
+ MENU_LIBS="$(${pkgconfig} --libs gdm gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 libelogind)"
)
fi