aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-01-05 20:35:08 +0800
committermarino <marino@FreeBSD.org>2015-01-05 20:35:08 +0800
commit1d25730a7d7bc4a2a3820c330d0f4855076df859 (patch)
treece554a161b460e1e76ec875c3348eff62345dc29 /mail
parentc9ecc5c99c77aa9e9b3302be676bfdcab9974721 (diff)
downloadfreebsd-ports-gnome-1d25730a7d7bc4a2a3820c330d0f4855076df859.tar.gz
freebsd-ports-gnome-1d25730a7d7bc4a2a3820c330d0f4855076df859.tar.zst
freebsd-ports-gnome-1d25730a7d7bc4a2a3820c330d0f4855076df859.zip
mail/spamassassin: Add perl command_interpret to rc script
spamd is a perl script, so defining command_interpreter is required for proper rc.d functioning.
Diffstat (limited to 'mail')
-rw-r--r--mail/spamassassin/Makefile2
-rw-r--r--mail/spamassassin/files/sa-spamd.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 3a711601dd11..91ca05b5c239 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -3,7 +3,7 @@
PORTNAME= spamassassin
PORTVERSION= 3.4.0
-PORTREVISION?= 15 # also bump japanese/spamassassin
+PORTREVISION?= 16 # also bump japanese/spamassassin
CATEGORIES?= mail perl5
MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
MASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan
diff --git a/mail/spamassassin/files/sa-spamd.in b/mail/spamassassin/files/sa-spamd.in
index af0710ba02ba..91309dbdc9fc 100644
--- a/mail/spamassassin/files/sa-spamd.in
+++ b/mail/spamassassin/files/sa-spamd.in
@@ -43,6 +43,7 @@ restart_precmd="precmd"
pidfile=${spamd_pidfile:-"/var/run/${name}/${name}.pid"}
command=%%PREFIX%%/bin/${name}
command_args="-d -r ${pidfile}"
+command_interpreter="%%PREFIX%%/bin/perl"
required_dirs="%%PREFIX%%/share/spamassassin"
precmd()