summaryrefslogtreecommitdiff
path: root/mail/openwebmail
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-11-03 02:19:31 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-11-03 02:19:31 +0000
commit266f624756dde8126962c3c19d9f1e58ab54eb44 (patch)
tree1c4d55fec41965840d0e6069472b759139a5fc16 /mail/openwebmail
parentRemove missing mastersite (NXDOMAIN) (diff)
disable speedycgi when using perl-5.8.1 temporarily.
PR: 58758 Submitted by: Yuan-Chung Hsiao <ychsiao@linux.stu.edu.tw>
Notes
Notes: svn path=/head/; revision=92919
Diffstat (limited to 'mail/openwebmail')
-rw-r--r--mail/openwebmail/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index dce72cb05f82..f5090c58b723 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -31,6 +31,10 @@ PATCH_WRKSRC= ${WRKSRC}/cgi-bin/openwebmail
PATCH_STRIP= -p1
PLIST= ${WRKDIR}/.PLIST.${PKGNAME}
+.if ${PERL_LEVEL} > 500800
+WITHOUT_SPEEDYCGI=yes
+.endif
+
.if !defined(WITHOUT_SPEEDYCGI)
BUILD_DEPENDS+= speedy_suid:${PORTSDIR}/www/p5-CGI-SpeedyCGI
RUN_DEPENDS+= speedy_suid:${PORTSDIR}/www/p5-CGI-SpeedyCGI
@@ -132,4 +136,5 @@ do-install:
@${PERL} ${OWCGIDIR}/uty/wrapsuid.pl ${OWCGIDIR}
.endif
@${OWCGIDIR}/openwebmail-tool.pl --init --no
+
.include <bsd.port.post.mk>