svn commit: r503280 - in head/math/hmat-oss: . files

Yuri Victorovich yuri at FreeBSD.org
Sat Jun 1 23:07:43 UTC 2019


Author: yuri
Date: Sat Jun  1 23:07:41 2019
New Revision: 503280
URL: https://svnweb.freebsd.org/changeset/ports/503280

Log:
  math/hmat-oss: Update 1.5.0-340 -> 1.5.0-348

Deleted:
  head/math/hmat-oss/files/
Modified:
  head/math/hmat-oss/Makefile
  head/math/hmat-oss/distinfo

Modified: head/math/hmat-oss/Makefile
==============================================================================
--- head/math/hmat-oss/Makefile	Sat Jun  1 22:32:38 2019	(r503279)
+++ head/math/hmat-oss/Makefile	Sat Jun  1 23:07:41 2019	(r503280)
@@ -1,9 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	hmat-oss
-DISTVERSION=	1.5.0-340
-DISTVERSIONSUFFIX=	-g700d1fa
-PORTREVISION=	1
+DISTVERSION=	1.5.0-348
+DISTVERSIONSUFFIX=	-g76beaf3
 CATEGORIES=	math
 
 MAINTAINER=	yuri at FreeBSD.org
@@ -16,7 +15,7 @@ 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
@@ -24,5 +23,8 @@ 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 <bsd.port.mk>

Modified: head/math/hmat-oss/distinfo
==============================================================================
--- head/math/hmat-oss/distinfo	Sat Jun  1 22:32:38 2019	(r503279)
+++ head/math/hmat-oss/distinfo	Sat Jun  1 23:07:41 2019	(r503280)
@@ -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


More information about the svn-ports-all mailing list