aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-05-01 06:12:26 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-05-01 06:12:26 +0800
commita2762df7aa6b0d5406e41275fdb9911921e7cb85 (patch)
tree05f23f484bd21530ec47fd7e7e1741ebf89117c3
parenta221c2d14a2e9ac8602bb64397fabb941eb2aa5b (diff)
downloadfreebsd-ports-gnome-a2762df7aa6b0d5406e41275fdb9911921e7cb85.tar.gz
freebsd-ports-gnome-a2762df7aa6b0d5406e41275fdb9911921e7cb85.tar.zst
freebsd-ports-gnome-a2762df7aa6b0d5406e41275fdb9911921e7cb85.zip
- Make mod_perl/apache optional
Requested by: Jochem Oosterveen <jochem@oosterveen.net> (via e-mail) With Hat: perl@
-rw-r--r--mail/p5-qpsmtpd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/p5-qpsmtpd/Makefile b/mail/p5-qpsmtpd/Makefile
index d15c774077f6..9c0c8ef115f5 100644
--- a/mail/p5-qpsmtpd/Makefile
+++ b/mail/p5-qpsmtpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qpsmtpd
PORTVERSION= 0.84
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail perl5
MASTER_SITES= http://smtpd.develooper.com/files/
PKGNAMEPREFIX= p5-
@@ -16,7 +16,12 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= A flexible SMTP daemon written in Perl and featuring a plugin API
RUN_DEPENDS= spamd:${PORTSDIR}/mail/p5-Mail-SpamAssassin \
- ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+
+OPTIONS = MODPERL "Enable Apache Support via mod_perl" On
+
+.ifdef WITH_MODPERL
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+.endif
MAKE_JOBS_SAFE= yes