summaryrefslogtreecommitdiff
path: root/apkbuild-cpan.in
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-07-11 15:03:44 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-07-11 15:04:12 +0300
commit37cbcc6d99d9a2963baf5519171c3334cb7da2b9 (patch)
treec75982733e834fdb5fda0f9ca0386a5d69343b5f /apkbuild-cpan.in
parentba1d1a3d613599d8f2d12ffd042ba337f5066ccc (diff)
downloadabuild-37cbcc6d99d9a2963baf5519171c3334cb7da2b9.tar.gz
abuild-37cbcc6d99d9a2963baf5519171c3334cb7da2b9.tar.bz2
abuild-37cbcc6d99d9a2963baf5519171c3334cb7da2b9.tar.xz
abuild-37cbcc6d99d9a2963baf5519171c3334cb7da2b9.zip
apkbuild-cpan: perl no longer has '.' in path, add it for prepare()
Diffstat (limited to 'apkbuild-cpan.in')
-rw-r--r--apkbuild-cpan.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/apkbuild-cpan.in b/apkbuild-cpan.in
index b638149..54dbfd4 100644
--- a/apkbuild-cpan.in
+++ b/apkbuild-cpan.in
@@ -51,7 +51,7 @@ prepare() {
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor
else
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
fi
}
@@ -211,7 +211,7 @@ prepare() {
cd "$builddir"
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
$build_func = <<'EOF';