Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2016 19:31:37 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418106 - head/mail/dovecot2
Message-ID:  <201607051931.u65JVbGc021426@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607051931.u65JVbGc021426>