diff --git a/science/siconos/Makefile b/science/siconos/Makefile index 93c6ec53b009..86658b453d59 100644 --- a/science/siconos/Makefile +++ b/science/siconos/Makefile @@ -1,45 +1,47 @@ PORTNAME= siconos DISTVERSION= 4.4.0.rc4 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Simulation framework for nonsmooth dynamical systems LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp', see https://github.com/siconos/siconos/issues/416 BROKEN_FreeBSD_11= error: use of undeclared identifier 'RTLD_DEEPBIND' BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ help2man:misc/help2man LIB_DEPENDS= libcxsparse.so:math/suitesparse-cxsparse \ libgmp.so:math/gmp \ libldl.so:math/suitesparse-ldl \ libopenblas.so:math/openblas +TEST_DEPENDS= cppunit>0:devel/cppunit -USES= cmake compiler:c++17-lang fortran pkgconfig +USES= cmake:testing compiler:c++17-lang fortran pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER} +CMAKE_TESTING_ON= WITH_TESTING # tests are broken, see https://github.com/siconos/siconos/issues/415 CFLAGS+= -DCLOCKTIME -DCLOCKS_PER_SEC=128 # workaround for 'Undefined symbol "ftime"', see https://github.com/siconos/siconos/issues/411 BINARY_ALIAS= python3=${PYTHON_CMD} OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= WITH_PYTHON_WRAPPER PYTHON_USES= python PYTHON_USES_OFF= python:build PYTHON_PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} PYTHON_BUILD_DEPENDS= ${PYTHON_PY_DEPENDS} \ swig:devel/swig PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS} .include