Gentoo Archives: gentoo-commits

From: Adam Feldman <np-hardass@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-mate:master commit in: mate-extra/mate-system-monitor/
Date: Thu, 10 Jun 2021 15:36:17
Message-Id: 1623334904.8d8e6b164dd12031f162241aeac4d9b564186f4c.np-hardass@gentoo
1 commit: 8d8e6b164dd12031f162241aeac4d9b564186f4c
2 Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 14:21:44 2021 +0000
4 Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 14:21:44 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=8d8e6b16
7
8 mate-extra/mate-system-monitor: Update 9999
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org>
12
13 mate-extra/mate-system-monitor/mate-system-monitor-9999.ebuild | 9 +++++----
14 1 file changed, 5 insertions(+), 4 deletions(-)
15
16 diff --git a/mate-extra/mate-system-monitor/mate-system-monitor-9999.ebuild b/mate-extra/mate-system-monitor/mate-system-monitor-9999.ebuild
17 index a489ee3..1c7ebff 100644
18 --- a/mate-extra/mate-system-monitor/mate-system-monitor-9999.ebuild
19 +++ b/mate-extra/mate-system-monitor/mate-system-monitor-9999.ebuild
20 @@ -1,9 +1,9 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26
27 -inherit mate
28 +inherit mate toolchain-funcs
29
30 if [[ ${PV} != 9999 ]]; then
31 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
32 @@ -51,9 +51,10 @@ src_configure() {
33 if use elogind || use systemd; then
34 myconf+=( --enable-systemd )
35 if use elogind; then
36 + local pkgconfig="$(tc-getPKG_CONFIG)"
37 myconf+=(
38 - SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null`
39 - SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null`
40 + SYSTEMD_CFLAGS="$(${pkgconfig} --cflags 'libelogind')"
41 + SYSTEMD_LIBS="$(${pkgconfig} --libs 'libelogind')"
42 )
43 fi
44 else