From 18d57a3dcd044f29f7e362ae1b2a4c303462efb8 Mon Sep 17 00:00:00 2001 From: leeym Date: Mon, 3 Nov 2003 02:19:31 +0000 Subject: disable speedycgi when using perl-5.8.1 temporarily. PR: 58758 Submitted by: Yuan-Chung Hsiao --- mail/openwebmail/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/openwebmail/Makefile') 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 -- cgit