summaryrefslogtreecommitdiffstats
path: root/main/spamassassin/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-10-27 09:49:27 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-10-27 10:01:00 +0000
commitaac97cbcb6afa0535229da96dc65d50ca7f93c9e (patch)
tree255738f883eaa2a172769d9a18938202d1f06e06 /main/spamassassin/APKBUILD
parent276da4ae3a17959aacf296a77817eed7f091547a (diff)
downloadaports-aac97cbcb6afa0535229da96dc65d50ca7f93c9e.tar.bz2
aports-aac97cbcb6afa0535229da96dc65d50ca7f93c9e.tar.xz
main/spamassassin: rebuild against perl 5.12.2
Diffstat (limited to 'main/spamassassin/APKBUILD')
-rw-r--r--main/spamassassin/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/spamassassin/APKBUILD b/main/spamassassin/APKBUILD
index 87ec63dce..25134e680 100644
--- a/main/spamassassin/APKBUILD
+++ b/main/spamassassin/APKBUILD
@@ -2,7 +2,7 @@
pkgname=spamassassin
_realname=Mail-SpamAssassin
pkgver=3.3.1
-pkgrel=3
+pkgrel=4
pkgdesc="The Powerful #1 Open-Source Spam Filter"
url="http://spamassassin.apache.org"
license="Apache"
@@ -10,10 +10,12 @@ depends="perl perl-digest-sha1 perl-time-hires perl-netaddr-ip perl-mail-dkim pe
makedepends="perl-dev zlib-dev"
install=
subpackages="$pkgname-doc"
-source="http://www.apache.org/dist/spamassassin/source/$_realname-$pkgver.tar.gz"
+source="http://www.apache.org/dist/spamassassin/source/$_realname-$pkgver.tar.gz
+ spamassassin-3.3.1-PERL-5-12.patch"
prepare() {
cd "$srcdir/$_realname-$pkgver"
+ patch -p2 < ../spamassassin-3.3.1-PERL-5-12.patch || return 1
}
build() {
@@ -34,4 +36,5 @@ package() {
find "$pkgdir" -name perllocal.pod -delete
}
-md5sums="5a93f81fda315411560ff5da099382d2 Mail-SpamAssassin-3.3.1.tar.gz"
+md5sums="5a93f81fda315411560ff5da099382d2 Mail-SpamAssassin-3.3.1.tar.gz
+aea0b415deb2a827c50653dafb80d6e4 spamassassin-3.3.1-PERL-5-12.patch"