svn commit: r508815 - head/science/py-onnx

Piotr Kubaj pkubaj at FreeBSD.org
Tue Aug 13 08:50:24 UTC 2019


Author: pkubaj
Date: Tue Aug 13 08:50:23 2019
New Revision: 508815
URL: https://svnweb.freebsd.org/changeset/ports/508815

Log:
  science/py-onnx: fix build with GCC-based architectures
  
  Use C11 compiler because of:
  /wrkdirs/usr/ports/science/py-onnx/work-py36/onnx-1.5.0/onnx/onnxifi_loader.c:121: error: 'struct onnxifi_library' has no member named 'functions'
  
  Approved by:	mentors (implicit approval)

Modified:
  head/science/py-onnx/Makefile

Modified: head/science/py-onnx/Makefile
==============================================================================
--- head/science/py-onnx/Makefile	Tue Aug 13 07:54:03 2019	(r508814)
+++ head/science/py-onnx/Makefile	Tue Aug 13 08:50:23 2019	(r508815)
@@ -21,7 +21,7 @@ RUN_DEPENDS=	${PYNUMPY} \
 		${PY_TYPING} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
 
-USES=		python
+USES=		compiler:c11 python
 USE_PYTHON=	distutils concurrent autoplist
 
 BINARY_ALIAS=	python=${PYTHON_CMD}


More information about the svn-ports-all mailing list