commit:     8173e1843a0d30f0856c78ed7a995036320096f5
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 20:44:16 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Dec  9 18:22:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8173e184

systemd.eclass: strip EPREFIX from pkg-config output

 eclass/systemd.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index cc3591b3301..b86646052be 100644
--- 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

Reply via email to