aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-10-26 08:22:49 +0300
committerTimo Teräs <timo.teras@iki.fi>2012-10-26 08:25:28 +0300
commit44e39cd52539032aba8e6337e163606a029319bb (patch)
treeaa51d39a19c1bc84e1394e714683bc81db177b22
parent3327959a4eb2048b45441d55ab84450d4e0b704b (diff)
downloadaports-44e39cd52539032aba8e6337e163606a029319bb.tar.bz2
aports-44e39cd52539032aba8e6337e163606a029319bb.tar.xz
main/perl-mime-types: upgrade to 1.35
-rw-r--r--main/perl-mime-types/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/perl-mime-types/APKBUILD b/main/perl-mime-types/APKBUILD
index 86a13882a7..94b15add2c 100644
--- a/main/perl-mime-types/APKBUILD
+++ b/main/perl-mime-types/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-mime-types
_pkgreal=MIME-Types
-pkgver=1.34
+pkgver=1.35
pkgrel=0
pkgdesc="Definition of MIME types"
url="http://search.cpan.org/dist/MIME-Types/"
@@ -20,12 +20,14 @@ _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"
- make
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
}
package() {
@@ -34,4 +36,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="87c496480e463c0b7792e7f5429e50d1 MIME-Types-1.34.tar.gz"
+md5sums="0bba9902b326e03e376fe313b0fb239a MIME-Types-1.35.tar.gz"