aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-extutils-depends
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-27 18:39:18 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-27 18:39:18 +0000
commita14bd28987610941a0f14c93b8a85ae4a18e5996 (patch)
treec35e28b7f15abc5ef2d5fca70f0a400d7749f3a3 /testing/perl-extutils-depends
parent859d277d15fa8013422661f99964b829e13b657e (diff)
downloadaports-a14bd28987610941a0f14c93b8a85ae4a18e5996.tar.bz2
aports-a14bd28987610941a0f14c93b8a85ae4a18e5996.tar.xz
testing/perl-extutils-depends: new aport
Diffstat (limited to 'testing/perl-extutils-depends')
-rw-r--r--testing/perl-extutils-depends/APKBUILD8
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
}