dev-perl/XML-Parser: use ESYSROOT for finding Expat

Not that it should make any difference to the bug, but still. This is
more correct for --root and such.

Bug: https://bugs.gentoo.org/827966
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-12-14 06:45:32 +00:00
parent b70e6f9108
commit bc89e9852b
@@ -30,7 +30,7 @@ src_prepare() {
}
src_configure() {
myconf="EXPATLIBPATH=${EPREFIX}/usr/$(get_libdir) EXPATINCPATH=${EPREFIX}/usr/include"
myconf="EXPATLIBPATH=${ESYSROOT}/usr/$(get_libdir) EXPATINCPATH=${ESYSROOT}/usr/include"
perl-module_src_configure
}