aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-03 19:42:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-03 19:42:38 +0000
commit333934759d044031792b7adfa20cd62a98a23756 (patch)
treedab7a7f9b723e9c3d350aac59a8e2122b9db9065
parent052ad3faa580683441c2b551db6bc878df43920e (diff)
downloadaports-333934759d044031792b7adfa20cd62a98a23756.tar.bz2
aports-333934759d044031792b7adfa20cd62a98a23756.tar.xz
main/perl-html-mason-psgihandler: build fix
-rw-r--r--main/perl-html-mason-psgihandler/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/perl-html-mason-psgihandler/APKBUILD b/main/perl-html-mason-psgihandler/APKBUILD
index 5bea15c9a2..1d0036cde5 100644
--- a/main/perl-html-mason-psgihandler/APKBUILD
+++ b/main/perl-html-mason-psgihandler/APKBUILD
@@ -10,21 +10,23 @@ url="http://search.cpan.org/dist/HTML-Mason-PSGIHandler/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-cgi-psgi perl-html-mason"
-cpanmakedepends=""
+cpanmakedepends=" perl-plack "
depends="$cpandepends"
-makedepends="perl-dev perl-module-implementation perl-plack $cpanmakedepends"
+makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/A/AB/ABH/$_pkgreal-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/$_pkgreal-$pkgver.tar.gz"
_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
}
@@ -34,3 +36,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
+md5sums="f5982567c24f86b41c4cad43fd07c16c HTML-Mason-PSGIHandler-0.53.tar.gz"
+sha256sums="eafd7c7655dfa8261df3446b931a283d30306877b83ac4671c49cff74ea7f00b HTML-Mason-PSGIHandler-0.53.tar.gz"
+sha512sums="d8fe27ff0b25e41b7e64e83c277d323f5207b66e7630e3f688d586c375c63b1837935934a67e630c54fe8219e7b44fe084875e1530d36044fac85884ea62da40 HTML-Mason-PSGIHandler-0.53.tar.gz"