From d6492c7e67ff782ab6556066928791105574eaa8 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sat, 9 Jul 2016 15:47:25 +0000 Subject: Fix packaging with SSL disabled. No PORTREVISION bump. While here, left-indent a comment so that 9.x doesn't log it to the console, and only set USES=ssl if SSL is enabled. Submitted by: Christian Bernard --- mail/dovecot2/Makefile | 5 +++-- mail/dovecot2/pkg-plist | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'mail/dovecot2') diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile index 69ebdee87d1d..4c415df71c55 100644 --- a/mail/dovecot2/Makefile +++ b/mail/dovecot2/Makefile @@ -27,7 +27,7 @@ LICENSE_COMB= dual CONFLICTS= dovecot-1.[0-9]* -USES= cpe iconv libtool ssl +USES= cpe iconv libtool USE_RC_SUBR= dovecot GNU_CONFIGURE= yes @@ -112,6 +112,7 @@ SOLR_LIB_DEPENDS= libexpat.so:textproc/expat2 SQLITE_USES= sqlite:3 SQLITE_CONFIGURE_WITH= sqlite +SSL_USES= ssl SSL_CONFIGURE_WITH= ssl=openssl TEXTCAT_CONFIGURE_WITH= textcat @@ -152,7 +153,7 @@ post-patch: ${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/* @${REINPLACE_CMD} -e '/^LIBS =/s/$$/ @LTLIBICONV@/' \ ${WRKSRC}/src/lib-mail/Makefile.in - # Install the sample config files into ETCDIR/example-config/ +# Install the sample config files into ETCDIR/example-config/ @${REINPLACE_CMD} -e '/^exampledir =/s|\$$(docdir)|${ETCDIR}|' \ ${WRKSRC}/doc/example-config/Makefile.in \ ${WRKSRC}/doc/example-config/conf.d/Makefile.in diff --git a/mail/dovecot2/pkg-plist b/mail/dovecot2/pkg-plist index 8ffc9625af9b..37c0bb0d6bd0 100644 --- a/mail/dovecot2/pkg-plist +++ b/mail/dovecot2/pkg-plist @@ -620,7 +620,7 @@ lib/dovecot/lib95_imap_stats_plugin.a lib/dovecot/lib95_imap_stats_plugin.so lib/dovecot/lib99_welcome_plugin.a lib/dovecot/lib99_welcome_plugin.so -lib/dovecot/libdcrypt_openssl.so +%%SSL%%lib/dovecot/libdcrypt_openssl.so lib/dovecot/libdovecot-compression.a lib/dovecot/libdovecot-compression.so lib/dovecot/libdovecot-compression.so.0 -- cgit