svn commit: r544280 - head/math/py-or-tools
Yuri Victorovich
yuri at FreeBSD.org
Thu Aug 6 15:44:24 UTC 2020
Author: yuri
Date: Thu Aug 6 15:44:23 2020
New Revision: 544280
URL: https://svnweb.freebsd.org/changeset/ports/544280
Log:
math/py-or-tools: Broken on i386; Make file mask more inclusive to fix build on some architectures
Reported by: fallout
Modified:
head/math/py-or-tools/Makefile
Modified: head/math/py-or-tools/Makefile
==============================================================================
--- head/math/py-or-tools/Makefile Thu Aug 6 15:19:43 2020 (r544279)
+++ head/math/py-or-tools/Makefile Thu Aug 6 15:44:23 2020 (r544280)
@@ -13,6 +13,8 @@ COMMENT= Google's Operations Research tools (Python bi
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE-2.0.txt
+BROKEN_i386= SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32 # see https://github.com/google/or-tools/issues/2130
+
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS} \
@@ -46,7 +48,7 @@ post-configure: # https://github.com/google/or-tools/i
do-install: # by default cmake installs the whole or-tools project without the python part, so extract the wheel and install python files manually here
${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && \
- unzip ${BUILD_WRKSRC}/python/dist/ortools-${DISTVERSION}.9999-cp${PYTHON_SUFFIX}-cp${PYTHON_SUFFIX}m-freebsd_*.whl && \
+ unzip ${BUILD_WRKSRC}/python/dist/ortools-${DISTVERSION}*.whl && \
${RM} -rf ortools-*.dist-info
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name "*.so" -o -name "*.so.*" | ${XARGS} ${STRIP_CMD}
More information about the svn-ports-head
mailing list