znc: fix build

Closes #9111
This commit is contained in:
Jürgen Buchmüller 2017-11-12 18:24:34 +01:00
parent 603f435669
commit ac7ddd4b6f

View file

@ -20,7 +20,7 @@ make_dirs="/var/lib/znc 0750 znc znc"
pre_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/Config"*.p? $perlprefix
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Errno.pm" $perlprefix
export PERL5LIB=$perlprefix