aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-09-01 18:44:42 +0800
committerume <ume@FreeBSD.org>2003-09-01 18:44:42 +0800
commitea6ca9a2e98eb0b336e095ed91df61e786701f6e (patch)
tree818faa8a4bf5d6a341d4a162c5da51c27319a87a /mail/cyrus-imapd
parent6ba134180825915c528b5b93a0a44de706462352 (diff)
downloadfreebsd-ports-graphics-ea6ca9a2e98eb0b336e095ed91df61e786701f6e.tar.gz
freebsd-ports-graphics-ea6ca9a2e98eb0b336e095ed91df61e786701f6e.tar.zst
freebsd-ports-graphics-ea6ca9a2e98eb0b336e095ed91df61e786701f6e.zip
USE_OPENSSL must be set before including bsd.port.pre.mk.
Reported by: Fritz Heinrichmeyer <Fritz.Heinrichmeyer@Fernuni-Hagen.de>
Diffstat (limited to 'mail/cyrus-imapd')
-rw-r--r--mail/cyrus-imapd/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile
index d3f423a66a2..50db0af6412 100644
--- a/mail/cyrus-imapd/Makefile
+++ b/mail/cyrus-imapd/Makefile
@@ -26,6 +26,7 @@ LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl \
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \
${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
+USE_OPENSSL= yes
USE_PERL5= yes
USE_REINPLACE= YES
GNU_CONFIGURE= YES
@@ -35,6 +36,7 @@ CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \
--with-dbdir=${LOCALBASE} \
--with-auth=unix \
--with-com_err \
+ --with-openssl=${OPENSSLBASE} \
--with-perl=${PERL5}
.if defined(WITH_SNMP)
@@ -66,11 +68,6 @@ HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \
.include <bsd.port.pre.mk>
-USE_OPENSSL= yes
-.if !defined(WITH_OPENSSL_BASE)
-CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
-.endif
-
post-patch:
@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
${WRKSRC}/tools/mkimap