Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 09 Dec 2017 18:22:32
Message-Id: 1512843740.8173e1843a0d30f0856c78ed7a995036320096f5.floppym@gentoo
1 commit: 8173e1843a0d30f0856c78ed7a995036320096f5
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 30 20:44:16 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 9 18:22:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8173e184
7
8 systemd.eclass: strip EPREFIX from pkg-config output
9
10 eclass/systemd.eclass | 1 +
11 1 file changed, 1 insertion(+)
12
13 diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
14 index cc3591b3301..b86646052be 100644
15 --- a/eclass/systemd.eclass
16 +++ b/eclass/systemd.eclass
17 @@ -45,6 +45,7 @@ _systemd_get_dir() {
18
19 if $(tc-getPKG_CONFIG) --exists systemd; then
20 d=$($(tc-getPKG_CONFIG) --variable="${variable}" systemd) || die
21 + d=${d#${EPREFIX}}
22 else
23 d=${fallback}
24 fi