aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/exim/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index ea3a054e78fc..bb0ebb2e1000 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -49,9 +49,12 @@ USE_XLIB= yes
USE_BZIP2= yes
USE_ICONV= yes
-USE_PERL5= yes
USE_REINPLACE= yes
+.if !defined(WITHOUT_PERL)
+USE_PERL5= yes
+.endif
+
.if !defined(EXIMON_ONLY)
MAN8= exim.8
.else