mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 07:22:53 +00:00
apkbuild-cpan: perl no longer has '.' in path, add it for prepare()
This commit is contained in:
parent
ba1d1a3d61
commit
37cbcc6d99
@ -51,7 +51,7 @@ prepare() {
|
|||||||
if [ -e Build.PL ]; then
|
if [ -e Build.PL ]; then
|
||||||
perl Build.PL installdirs=vendor
|
perl Build.PL installdirs=vendor
|
||||||
else
|
else
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ prepare() {
|
|||||||
|
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$build_func = <<'EOF';
|
$build_func = <<'EOF';
|
||||||
|
Loading…
Reference in New Issue
Block a user