mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/perl: use errno.h from prefix, bug #645804
Closes: https://bugs.gentoo.org/645804 Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -325,6 +325,11 @@ src_prepare() {
|
||||
ext/NDBM_File/Makefile.PL || die
|
||||
fi
|
||||
|
||||
# Use errno.h from prefix rather than from host system, bug #645804
|
||||
if use prefix; then
|
||||
sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user