svn commit: r513778 - in head/math/tmv: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Oct 4 20:40:34 UTC 2019
Author: pkubaj
Date: Fri Oct 4 20:40:33 2019
New Revision: 513778
URL: https://svnweb.freebsd.org/changeset/ports/513778
Log:
math/tmv: fix build on GCC architectures
Instead of depending on libomp, set USES=compiler:openmp.
Also don't link to libomp.
PR: 241050
Approved by: linimon (mentor), yuri (maintainer)
Modified:
head/math/tmv/Makefile
head/math/tmv/files/Makefile
Modified: head/math/tmv/Makefile
==============================================================================
--- head/math/tmv/Makefile Fri Oct 4 20:09:12 2019 (r513777)
+++ head/math/tmv/Makefile Fri Oct 4 20:40:33 2019 (r513778)
@@ -3,7 +3,7 @@
PORTNAME= tmv
DISTVERSIONPREFIX= v
DISTVERSION= 0.75
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= math
MAINTAINER= yuri at FreeBSD.org
@@ -12,9 +12,7 @@ COMMENT= Fast, intuitive linear algebra library for C+
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/TMV_LICENSE
-LIB_DEPENDS= libomp.so:devel/openmp
-
-USES= gmake blaslapack:netlib localbase
+USES= compiler:openmp gmake blaslapack:netlib localbase
USE_GITHUB= yes
GH_ACCOUNT= rmjarvis
USE_LDCONFIG= yes
Modified: head/math/tmv/files/Makefile
==============================================================================
--- head/math/tmv/files/Makefile Fri Oct 4 20:09:12 2019 (r513777)
+++ head/math/tmv/files/Makefile Fri Oct 4 20:40:33 2019 (r513778)
@@ -9,7 +9,7 @@ LST2= TMV_BandMatrix TMV_MultBV TMV_MultXB TMV_AddBB T
LIB2= libtmv_symband.so.0
CXXFLAGS+= -I../include -fopenmp -fPIC -DTMV_NDEBUG -DFBLAS -DNOLAP
-LDFLAGS+= -lblas -lomp
+LDFLAGS+= -lblas
SRCS1= $(addsuffix .cpp, $(LST1))
SRCS2= $(addsuffix .cpp, $(LST2))
More information about the svn-ports-head
mailing list