svn commit: r484212 - head/devel/py-pycapsicum

Mark Linimon linimon at FreeBSD.org
Mon Nov 5 19:55:43 UTC 2018


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>


More information about the svn-ports-all mailing list