diff options
author | mat <mat@FreeBSD.org> | 2015-06-05 22:21:43 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-06-05 22:21:43 +0800 |
commit | aca1319ee5ce214562df92cdf63febf3d60c33d1 (patch) | |
tree | a04b8f019a485579efdde0660a93494c030aaef1 /mail | |
parent | 6a7476a5fb1959e8e57535cf529dc9507e610deb (diff) | |
download | freebsd-ports-gnome-aca1319ee5ce214562df92cdf63febf3d60c33d1.tar.gz freebsd-ports-gnome-aca1319ee5ce214562df92cdf63febf3d60c33d1.tar.zst freebsd-ports-gnome-aca1319ee5ce214562df92cdf63febf3d60c33d1.zip |
Get rid of PERL_LEVEL checks for Perl versions not supported.
Sponsored by: Absolight
Diffstat (limited to 'mail')
-rw-r--r-- | mail/openwebmail/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile index 4427df878c32..104775241fd0 100644 --- a/mail/openwebmail/Makefile +++ b/mail/openwebmail/Makefile @@ -26,7 +26,7 @@ SUB_FILES= pkg-install OPTIONS_DEFINE= ANTIWORD MAGICK ISPELL LEARNSPAM LSOF PAM POP3_OVER_SSL QUOTA \ SPAMCHECK SPAMCHECK_ALL SPEEDYCGI TNEF VIRUSCHECK VIRUSCHECK_ALL \ - WGET ZLIB + WGET ANTIWORD_DESC= AntiWord ISPELL_DESC= ISpell @@ -42,13 +42,12 @@ TNEF_DESC= tnef VIRUSCHECK_DESC= Virus check (Clam AntiVirus) VIRUSCHECK_ALL_DESC= Virus check for all (default: pop3) WGET_DESC= wget -ZLIB_DESC= ZLib .include <bsd.port.pre.mk> # WITH_SPEEDYCGI needs suidperl enabled under perl 5.8.4 or above, # so, disable it first, and enable it again if perl exists and enabled suidperl -.if ${PERL_LEVEL} >= 500804 && !empty(PORT_OPTIONS:MSPEEDYCGI) +.if ${PORT_OPTIONS:MSPEEDYCGI} DISABLE_SPEEDYCGI=yes PORT_OPTIONS:= ${PORT_OPTIONS:NSPEEDYCGI} .if exists(${PERL}) @@ -57,7 +56,7 @@ PERL_V!= ${PERL} -V .undef DISABLE_SPEEDYCGI .endif # dosuid .endif # exists(${PERL}) -.endif # perl5.8 +.endif # SPEEDYCGI .if ${PORT_OPTIONS:MLEARNSPAM} || !empty(PORT_OPTIONS:MSPAMCHECK_ALL) PORT_OPTIONS+= SPAMCHECK @@ -106,11 +105,7 @@ RUN_DEPENDS+= spamassassin>=0:${PORTSDIR}/mail/spamassassin .if ${PORT_OPTIONS:MSPEEDYCGI} RUN_DEPENDS+= speedy_suidperl:${PORTSDIR}/www/p5-CGI-SpeedyCGI SUB_LIST+= WITHOUT_SPEEDYCGI="@comment " -.if ${PERL_LEVEL} < 500804 -EXTRA_PATCHES+= ${PATCH_WRKSRC}/misc/patches/suidperl2speedy_suidperl.patch -.else EXTRA_PATCHES+= ${PATCH_WRKSRC}/misc/patches/suidperl2speedy_suidperl.notmp.patch -.endif .else SUB_LIST+= WITHOUT_SPEEDYCGI="" .endif @@ -123,12 +118,6 @@ RUN_DEPENDS+= clamdscan:${PORTSDIR}/security/clamav RUN_DEPENDS+= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget .endif -.if ${PORT_OPTIONS:MZLIB} -. if ${PERL_LEVEL} < 500903 -RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress -. endif -.endif - post-extract: .for x in addressbooks/global calendar.book @${RM} ${WRKSRC}/cgi-bin/openwebmail/etc/${x} |