svn commit: r418106 - head/mail/dovecot2
Adam Weinberger
adamw at FreeBSD.org
Tue Jul 5 19:31:38 UTC 2016
Author: adamw
Date: Tue Jul 5 19:31:37 2016
New Revision: 418106
URL: https://svnweb.freebsd.org/changeset/ports/418106
Log:
Fix build on 9.x.
Adds compiler:c11 for this error:
sha1.h:80: error: static or type qualifiers in abstract declarator
dovecot no longer builds againt the old OpenSSL in 9.x base, so
require ssl from ports there.
Despite the dependency change (only for 9.x), I'm not bumping
PORTREVISION because build couldn't complete on 9.x regardless.
Modified:
head/mail/dovecot2/Makefile
Modified: head/mail/dovecot2/Makefile
==============================================================================
--- head/mail/dovecot2/Makefile Tue Jul 5 19:00:47 2016 (r418105)
+++ head/mail/dovecot2/Makefile Tue Jul 5 19:31:37 2016 (r418106)
@@ -135,6 +135,13 @@ PGSQL_VARS= _REQUIRE+=postgresql
SUB_LIST+= REQUIRE="${_REQUIRE}"
SUB_FILES+= pkg-message
+.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 1000011
+USES+= compiler:c11
+WITH_OPENSSL_PORT= yes
+.endif
+
+.include <bsd.port.pre.mk>
+
CPPFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC}
LDFLAGS+= -L${LOCALBASE}/lib -I${OPENSSLLIB}
@@ -160,4 +167,4 @@ post-install-EXAMPLES-on:
${MV} ${STAGEDIR}${DOCSDIR}/dovecot-openssl.cnf ${STAGEDIR}${EXAMPLESDIR}
${MV} ${STAGEDIR}${DOCSDIR}/mkcert.sh ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list