aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot2
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2016-07-09 23:47:25 +0800
committerAdam Weinberger <adamw@FreeBSD.org>2016-07-09 23:47:25 +0800
commitd6492c7e67ff782ab6556066928791105574eaa8 (patch)
tree42b82618084694a256b6f395ab17e1479bd80627 /mail/dovecot2
parenta83258a54cb042cdfbbe99ef00efbb9d65f704d5 (diff)
downloadfreebsd-ports-gnome-d6492c7e67ff782ab6556066928791105574eaa8.tar.gz
freebsd-ports-gnome-d6492c7e67ff782ab6556066928791105574eaa8.tar.zst
freebsd-ports-gnome-d6492c7e67ff782ab6556066928791105574eaa8.zip
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
Diffstat (limited to 'mail/dovecot2')
-rw-r--r--mail/dovecot2/Makefile5
-rw-r--r--mail/dovecot2/pkg-plist2
2 files changed, 4 insertions, 3 deletions
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