aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-11-03 10:19:31 +0800
committerleeym <leeym@FreeBSD.org>2003-11-03 10:19:31 +0800
commit18d57a3dcd044f29f7e362ae1b2a4c303462efb8 (patch)
treef4a851f33ecdd120e09056f1138976c484c9b091
parentc491fd65dd6c601c13b9923b074256f5e2ede67a (diff)
downloadfreebsd-ports-graphics-18d57a3dcd044f29f7e362ae1b2a4c303462efb8.tar.gz
freebsd-ports-graphics-18d57a3dcd044f29f7e362ae1b2a4c303462efb8.tar.zst
freebsd-ports-graphics-18d57a3dcd044f29f7e362ae1b2a4c303462efb8.zip
disable speedycgi when using perl-5.8.1 temporarily.
PR: 58758 Submitted by: Yuan-Chung Hsiao <ychsiao@linux.stu.edu.tw>
-rw-r--r--mail/openwebmail/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index dce72cb05f8..f5090c58b72 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>