aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/zmailer/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/zmailer/Makefile b/mail/zmailer/Makefile
index 70a47af13cb8..8b0af296b7e6 100644
--- a/mail/zmailer/Makefile
+++ b/mail/zmailer/Makefile
@@ -17,6 +17,12 @@ CONFLICTS= courier-0.* postfix-1.* postfix-2.* sendmail-8.* sendmail-*-8.* smail
GNU_CONFIGURE= yes
USE_PERL5= yes
+.include <bsd.port.pre.mk>
+
+.if ( ${PERL_LEVEL} < 500600 )
+IGNORE= "This port requires perl 5.006 or better"
+.endif
+
.if defined(WITH_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS= --with-openssl
@@ -24,8 +30,6 @@ CONFIGURE_ARGS= --with-openssl
CONFIGURE_ARGS= --without-openssl
.endif
-.include <bsd.port.pre.mk>
-
.if ( ${OSVERSION} >= 500000 )
EXTRA_PATCHES= ${FILESDIR}/extra-patch-EAI_NODATA
.endif