summaryrefslogtreecommitdiff
path: root/network/spamassassin/spamassassin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/spamassassin/spamassassin.SlackBuild')
-rw-r--r--network/spamassassin/spamassassin.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/spamassassin/spamassassin.SlackBuild b/network/spamassassin/spamassassin.SlackBuild
index 072eb69f17..0fb6d4d5bb 100644
--- a/network/spamassassin/spamassassin.SlackBuild
+++ b/network/spamassassin/spamassassin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for spamassassin
-# Copyright 2008-2011 LukenShiro, Italy
+# Copyright 2008-2013 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,11 @@
# Thanks to Nishant Limbachia for providing a SQL script to be used with
# spamassassin database, and most of spamassassin dependencies' scripts.
+# Thanks to Mancha on LQ for a patch to suppress log warning.
PRGNAM=spamassassin
VERSION=${VERSION:-3.3.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +71,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p0 < $CWD/SpamAssassin-3.3.2-perl.diff || exit 1
+
echo "y" | perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \