Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2020 17:31:24 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r544892 - head/mail/notmuch
Message-ID:  <202008141731.07EHVOBs043975@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Aug 14 17:31:24 2020
New Revision: 544892
URL: https://svnweb.freebsd.org/changeset/ports/544892

Log:
  Add compiler:c++11-lang to USES to fix build on GCC-based systems:
  
    notmuch-config.c:851: error: 'for' loop initial declaration used outside C99 mode
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/mail/notmuch/Makefile

Modified: head/mail/notmuch/Makefile
==============================================================================
--- head/mail/notmuch/Makefile	Fri Aug 14 17:26:41 2020	(r544891)
+++ head/mail/notmuch/Makefile	Fri Aug 14 17:31:24 2020	(r544892)
@@ -28,7 +28,7 @@ TEST_DEPENDS=	bash:shells/bash \
 		gwc:sysutils/coreutils \
 		${LOCALBASE}/bin/gdb:devel/gdb
 
-USES=		gmake gnome pkgconfig python:3.5+,build,test
+USES=		compiler:c++11-lang gmake gnome pkgconfig python:3.5+,build,test
 USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 .endif



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