diff options
Diffstat (limited to 'testing/perl-extutils-depends/APKBUILD')
-rw-r--r-- | testing/perl-extutils-depends/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/perl-extutils-depends/APKBUILD b/testing/perl-extutils-depends/APKBUILD index 2027233ffa..67f3ad61a2 100644 --- a/testing/perl-extutils-depends/APKBUILD +++ b/testing/perl-extutils-depends/APKBUILD @@ -1,6 +1,6 @@ # Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=perl-extutils-depends _pkgreal=ExtUtils-Depends pkgver=0.304 @@ -10,7 +10,7 @@ url="http://search.cpan.org/dist/ExtUtils-Depends/" arch="noarch" license="GPL PerlArtistic" cpandepends="" -cpanmakedepends="" +cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" @@ -20,11 +20,13 @@ _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make && make test } |