build-style/perl-module.sh: fake Errno.pm too.

This commit is contained in:
Christian Neukirchen 2016-08-29 16:23:26 +02:00
parent a75a4d7804
commit 814fb802ad

View file

@ -17,6 +17,7 @@ do_configure() {
local perlprefix=${XBPS_STATEDIR}/perlprefix-${XBPS_TARGET_MACHINE}
mkdir -p $perlprefix
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Config"* $perlprefix
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Errno.pm" $perlprefix
export PERL5LIB=$perlprefix
if [ -f ${wrksrc}/Makefile.PL ]; then