mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
mate-extra/mate-system-monitor: fix quoting for pkg-config
Bug: https://bugs.gentoo.org/756238 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit mate
|
||||
inherit mate toolchain-funcs
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
@@ -51,9 +51,10 @@ src_configure() {
|
||||
if use elogind || use systemd; then
|
||||
myconf+=( --enable-systemd )
|
||||
if use elogind; then
|
||||
local pkgconfig="$(tc-getPKG_CONFIG)"
|
||||
myconf+=(
|
||||
SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null`
|
||||
SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null`
|
||||
SYSTEMD_CFLAGS="$(${pkgconfig} --cflags "libelogind")"
|
||||
SYSTEMD_LIBS="$(${pkgconfig} --libs "libelogind")"
|
||||
)
|
||||
fi
|
||||
else
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit mate
|
||||
inherit mate toolchain-funcs
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
@@ -51,9 +51,10 @@ src_configure() {
|
||||
if use elogind || use systemd; then
|
||||
myconf+=( --enable-systemd )
|
||||
if use elogind; then
|
||||
local pkgconfig="$(tc-getPKG_CONFIG)"
|
||||
myconf+=(
|
||||
SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null`
|
||||
SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null`
|
||||
SYSTEMD_CFLAGS="$(${pkgconfig} --cflags "libelogind")"
|
||||
SYSTEMD_LIBS="$(${pkgconfig} --libs "libelogind")"
|
||||
)
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user