diff options
Diffstat (limited to 'apkbuild-cpan.in')
-rw-r--r-- | apkbuild-cpan.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apkbuild-cpan.in b/apkbuild-cpan.in index 3bda5df..2af8596 100644 --- a/apkbuild-cpan.in +++ b/apkbuild-cpan.in @@ -167,14 +167,14 @@ sub update_functions { $prepare_func = <<'EOF'; prepare() { cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL installdirs=vendor || return 1 } EOF $build_func = <<'EOF'; build() { cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build && ./Build test } EOF @@ -189,14 +189,14 @@ EOF $prepare_func = <<'EOF'; prepare() { 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 } EOF $build_func = <<'EOF'; build() { cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make && make test } EOF |