svn commit: r514457 - head/math/py-rpy2

Piotr Kubaj pkubaj at FreeBSD.org
Mon Oct 14 12:06:14 UTC 2019


Author: pkubaj
Date: Mon Oct 14 12:06:13 2019
New Revision: 514457
URL: https://svnweb.freebsd.org/changeset/ports/514457

Log:
  math/py-rpy2: fix build on GCC architectures
  
  Use C11 compiler:
  rpy2/rinterface_lib/R_API_eventloop.h:24: error: redefinition of typedef 'InputHandler'
  rpy2/rinterface_lib/R_API_eventloop.h:6: error: previous declaration of 'InputHandler' was here
  
  Approved by:	mentors (implicit approval)

Modified:
  head/math/py-rpy2/Makefile

Modified: head/math/py-rpy2/Makefile
==============================================================================
--- head/math/py-rpy2/Makefile	Mon Oct 14 12:04:52 2019	(r514456)
+++ head/math/py-rpy2/Makefile	Mon Oct 14 12:06:13 2019	(r514457)
@@ -26,7 +26,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.10.0:devel
 		${PYTHON_PKGNAMEPREFIX}simplegeneric>=0:devel/py-simplegeneric@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tzlocal>=0:devel/py-tzlocal@${PY_FLAVOR}
 
-USES=		fortran python:3.5+ readline
+USES=		compiler:c11 fortran python:3.5+ readline
 USE_PYTHON=	autoplist distutils
 
 MAKE_ENV=	RPY2_CFFI_MODE=BOTH


More information about the svn-ports-head mailing list