Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2018 19:55:42 +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: r484212 - head/devel/py-pycapsicum
Message-ID:  <201811051955.wA5JtgJR092288@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Mon Nov  5 19:55:42 2018
New Revision: 484212
URL: https://svnweb.freebsd.org/changeset/ports/484212

Log:
  Base GCC compiles by default in C89, while this port is written in C99,
  which breaks compilation on GCC architectures.
  
  Set USE_CSTD=c99 to make this port build.
  
  PR:		232517
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/devel/py-pycapsicum/Makefile

Modified: head/devel/py-pycapsicum/Makefile
==============================================================================
--- head/devel/py-pycapsicum/Makefile	Mon Nov  5 19:47:42 2018	(r484211)
+++ head/devel/py-pycapsicum/Makefile	Mon Nov  5 19:55:42 2018	(r484212)
@@ -12,11 +12,8 @@ COMMENT=	Python interface to capsicum security
 
 LICENSE=	BSD3CLAUSE
 
-BROKEN_mips=		fails to compile: _pycapsicum.c: error: 'for' loop initial declaration used outside C99 mode
-BROKEN_mips64=		fails to compile: _pycapsicum.c: error: 'for' loop initial declaration used outside C99 mode
-BROKEN_powerpc64=	fails to compile: _pycapsicum.c: error: 'for' loop initial declaration used outside C99 mode
-
 USES=		python
+USE_CSTD=	c99
 USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>



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