diff options
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/gnome-panel/gnome-panel-3.36.2.ebuild | 7 |
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 |