diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-09-18 10:10:53 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-09-19 17:38:24 -0400 |
commit | 3fc8be35607dc65897279f666c8171b174dd2bf2 (patch) | |
tree | a1c31ba2d767292440215a6d537a8bf636810183 /eclass | |
parent | systemd.eclass: set PKG_CONFIG_FDO_SYSROOT_RULES (diff) | |
download | gentoo-3fc8be35607dc65897279f666c8171b174dd2bf2.tar.gz gentoo-3fc8be35607dc65897279f666c8171b174dd2bf2.tar.bz2 gentoo-3fc8be35607dc65897279f666c8171b174dd2bf2.zip |
udev.eclass: set PKG_CONFIG_FDO_SYSROOT_RULES
This prevents pkgconf from prepending install paths with SYSROOT.
Bug: https://bugs.gentoo.org/813639
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/udev.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/udev.eclass b/eclass/udev.eclass index 7f9415914cd2..073e5d8acbc9 100644 --- a/eclass/udev.eclass +++ b/eclass/udev.eclass @@ -49,6 +49,8 @@ fi # @DESCRIPTION: # Get unprefixed udevdir. _udev_get_udevdir() { + # https://github.com/pkgconf/pkgconf/issues/205 + local -x PKG_CONFIG_FDO_SYSROOT_RULES=1 if $($(tc-getPKG_CONFIG) --exists udev); then local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" echo "${udevdir#${EPREFIX%/}}" |