summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd23
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd23')
-rw-r--r--mail/cyrus-imapd23/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
index 60ab2850cd12..3cdffcbe01ff 100644
--- a/mail/cyrus-imapd23/Makefile
+++ b/mail/cyrus-imapd23/Makefile
@@ -24,6 +24,7 @@ BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
USE_RC_SUBR= YES
+USE_OPENSSL= yes
USE_PERL5= yes
USE_REINPLACE= YES
GNU_CONFIGURE= YES
@@ -34,6 +35,7 @@ CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \
--with-bdb-libdir=${LOCALBASE}/lib \
--with-auth=unix \
--with-com_err \
+ --with-openssl=${OPENSSLBASE} \
--with-perl=${PERL5}
.if defined(WITH_BDB_VER)
@@ -137,11 +139,6 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Temp.pm:${PORTSD
RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser
.endif
-USE_OPENSSL= yes
-.if !defined(WITH_OPENSSL_BASE)
-CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
-.endif
-
RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
RC_SUBR=${RC_SUBR}