aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd2
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r--mail/cyrus-imapd2/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile
index 3684af670f90..74e769205d43 100644
--- a/mail/cyrus-imapd2/Makefile
+++ b/mail/cyrus-imapd2/Makefile
@@ -26,6 +26,7 @@ BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
USE_RC_SUBR= YES
+USE_OPENSSL= yes
USE_PERL5= yes
USE_REINPLACE= YES
GNU_CONFIGURE= YES
@@ -36,6 +37,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)
@@ -115,11 +117,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}