diff --git a/science/pastix/Makefile b/science/pastix/Makefile index 077bc8f85718..2b1935197e7c 100644 --- a/science/pastix/Makefile +++ b/science/pastix/Makefile @@ -1,49 +1,50 @@ PORTNAME= pastix PORTVERSION= 6.3.0 CATEGORIES= science MASTER_SITES= https://gitlab.inria.fr/solverstack/pastix/uploads/${GL_TAG}/ MAINTAINER= thierry@FreeBSD.org COMMENT= PaStiX: a sparse direct solver WWW= https://solverstack.gitlabpages.inria.fr/pastix/ LICENSE= LGPL3 BUILD_DEPENDS= bash:shells/bash \ ${PYNUMPY} LIB_DEPENDS= libcblas.so:math/cblas \ libmetis.so:math/metis \ libscotch.so:cad/scotch \ liblapacke.so:math/lapacke \ libhwloc.so:devel/hwloc2 RUN_DEPENDS= bash:shells/bash \ ${PYNUMPY} USES= cmake blaslapack:openblas fortran pkgconfig python #USE_GITLAB= yes #GL_SITE= https://gitlab.inria.fr/ #GL_ACCOUNT= solverstack #GL_PROJECT= pastix spm:s morse_cmake:m #GL_TAGNAME= 6e35c2ba179013b058f5d4e1afd4b451953149c6 \ # 14e36c1586c9ba13f938b1a89f51c080d6551392:s \ # 31cd2bbb0d76f2b9fd83011d8f079d97540b0ba8:m #GL_SUBDIR= spm:s cmake_modules/morse_cmake:m GL_TAG= 87c0b910dce3d81667e760c720e706d1 # tarball with submodules +LDFLAGS+= -lm CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \ -DPASTIX_ORDERING_METIS:BOOL=ON USE_LDCONFIG= yes TEST_TARGET= test OPTIONS_DEFINE= EXAMPLES EX2FIX= example spm/examples spm/wrappers/fortran90 spm/wrappers/python \ wrappers/fortran90 wrappers/python example/old pre-configure: .for ex in ${EX2FIX} ${REINPLACE_CMD} -e 's|DESTINATION examples|DESTINATION ${EXAMPLESDIR}/${ex:C/examples//:C/example//}|' \ ${WRKSRC}/${ex}/CMakeLists.txt .endfor .include