projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95c9b2
)
systemd.eclass: strip EPREFIX from pkg-config output
author
Mike Gilbert
<floppym@gentoo.org>
Thu, 30 Nov 2017 20:44:16 +0000
(15:44 -0500)
committer
Mike Gilbert
<floppym@gentoo.org>
Sat, 9 Dec 2017 18:22:20 +0000
(13:22 -0500)
eclass/systemd.eclass
patch
|
blob
|
history
diff --git
a/eclass/systemd.eclass
b/eclass/systemd.eclass
index cc3591b3301be717e9fae614e13b1c5c6f1c720c..b86646052bef41ad1e56d515895d3ecb8ecd8551 100644
(file)
--- a/
eclass/systemd.eclass
+++ b/
eclass/systemd.eclass
@@
-45,6
+45,7
@@
_systemd_get_dir() {
if $(tc-getPKG_CONFIG) --exists systemd; then
d=$($(tc-getPKG_CONFIG) --variable="${variable}" systemd) || die
+ d=${d#${EPREFIX}}
else
d=${fallback}
fi