summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/perl/perl-5.26.1-r2.ebuild')
-rw-r--r--dev-lang/perl/perl-5.26.1-r2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/perl/perl-5.26.1-r2.ebuild b/dev-lang/perl/perl-5.26.1-r2.ebuild
index 2b6ee9d381dd..e23f6e792be6 100644
--- a/dev-lang/perl/perl-5.26.1-r2.ebuild
+++ b/dev-lang/perl/perl-5.26.1-r2.ebuild
@@ -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
}