From owner-svn-ports-head@freebsd.org Tue Jul 5 19:31:38 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A7EBB2170A; Tue, 5 Jul 2016 19:31:38 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 376191ABC; Tue, 5 Jul 2016 19:31:38 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u65JVbZp021427; Tue, 5 Jul 2016 19:31:37 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u65JVbGc021426; Tue, 5 Jul 2016 19:31:37 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201607051931.u65JVbGc021426@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Tue, 5 Jul 2016 19:31:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418106 - head/mail/dovecot2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2016 19:31:38 -0000 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 + 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 +.include