summaryrefslogtreecommitdiffstats
path: root/network/spamassassin/spamassassin.SlackBuild
diff options
context:
space:
mode:
author LukenShiro <lukenshiro@ngi.it>2013-10-28 20:29:53 -0500
committer Robby Workman <rworkman@slackbuilds.org>2013-10-28 20:29:53 -0500
commitf5e362858052345118ecc4ee7eaa213951e0e994 (patch)
tree3fb4bd6e503c9bc077a86278cece4d288bb4f0a5 /network/spamassassin/spamassassin.SlackBuild
parent812d454d4c768baa24e80035ed7b479c166fd1c2 (diff)
downloadslackbuilds-f5e362858052345118ecc4ee7eaa213951e0e994.tar.gz
slackbuilds-f5e362858052345118ecc4ee7eaa213951e0e994.tar.xz
network/spamassassin: Included a patch to suppress log warning
Thanks to mancha for the patch. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 \