Index: head/math/hmat-oss/files/patch-src_disable__threading.cpp =================================================================== --- head/math/hmat-oss/files/patch-src_disable__threading.cpp (revision 503279) +++ head/math/hmat-oss/files/patch-src_disable__threading.cpp (nonexistent) @@ -1,13 +0,0 @@ -see https://github.com/jeromerobert/hmat-oss/issues/59 - ---- src/disable_threading.cpp.orig 2019-04-29 18:50:39 UTC -+++ src/disable_threading.cpp -@@ -37,6 +37,8 @@ extern "C" { - // This function is private in openblas - int goto_get_num_procs(void); - } -+ -+void openblas_set_num_threads(int n); - #endif - - namespace hmat { Property changes on: head/math/hmat-oss/files/patch-src_disable__threading.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/hmat-oss/Makefile =================================================================== --- head/math/hmat-oss/Makefile (revision 503279) +++ head/math/hmat-oss/Makefile (revision 503280) @@ -1,28 +1,30 @@ # $FreeBSD$ PORTNAME= hmat-oss -DISTVERSION= 1.5.0-340 -DISTVERSIONSUFFIX= -g700d1fa -PORTREVISION= 1 +DISTVERSION= 1.5.0-348 +DISTVERSIONSUFFIX= -g76beaf3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Hierarchical matrix C/C++ library LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libcblas.so:math/cblas \ libomp.so:devel/openmp \ libopenblas.so:math/openblas -USES= cmake localbase:ldflags +USES= cmake USE_GITHUB= yes GH_ACCOUNT= jeromerobert USE_LDCONFIG= yes CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \ -DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \ -DCBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libcblas.so + +post-configure: # fix the error in math/openturns: /usr/local/lib/libhmat-oss.so.1: undefined reference to `openblas_set_num_threads(int)' + @${REINPLACE_CMD} "s|#define OPENBLAS_DISABLE_THREADS|\/\/&|" ${BUILD_WRKSRC}/config.h # OPENBLAS_DISABLE_THREADS enables openblas_set_num_threads(int) here .include Index: head/math/hmat-oss/distinfo =================================================================== --- head/math/hmat-oss/distinfo (revision 503279) +++ head/math/hmat-oss/distinfo (revision 503280) @@ -1,3 +1,3 @@ -TIMESTAMP = 1556520890 -SHA256 (jeromerobert-hmat-oss-1.5.0-340-g700d1fa_GH0.tar.gz) = 60a13f3626ddcef46a0d4c8ff750a3ae982b8de2fac0f09a673e029c45c636fc -SIZE (jeromerobert-hmat-oss-1.5.0-340-g700d1fa_GH0.tar.gz) = 184636 +TIMESTAMP = 1559429361 +SHA256 (jeromerobert-hmat-oss-1.5.0-348-g76beaf3_GH0.tar.gz) = 24088da60df279b9f4185b783038026d962aabcdf5d2e94911b3f38b69a9598b +SIZE (jeromerobert-hmat-oss-1.5.0-348-g76beaf3_GH0.tar.gz) = 184640