summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/R-cran-gower/Makefile3
-rw-r--r--math/ambit/Makefile1
-rw-r--r--math/blaze/Makefile6
-rw-r--r--math/blazeiterative/Makefile3
-rw-r--r--math/combblas/Makefile5
-rw-r--r--math/csdp/Makefile9
-rw-r--r--math/darknet/Makefile3
-rw-r--r--math/dbcsr/Makefile3
-rw-r--r--math/ensmallen/Makefile7
-rw-r--r--math/gretl/Makefile9
-rw-r--r--math/hipmcl/Makefile5
-rw-r--r--math/libnormaliz/Makefile2
-rw-r--r--math/libxsmm/Makefile3
-rw-r--r--math/lis/Makefile2
-rw-r--r--math/mkl-dnn/Makefile2
-rw-r--r--math/py-rpy2/Makefile8
-rw-r--r--math/py-yt/Makefile2
-rw-r--r--math/saga/Makefile6
-rw-r--r--math/timbl/Makefile5
19 files changed, 24 insertions, 60 deletions
diff --git a/math/R-cran-gower/Makefile b/math/R-cran-gower/Makefile
index 706dd6417c41..368e11392300 100644
--- a/math/R-cran-gower/Makefile
+++ b/math/R-cran-gower/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gower
DISTVERSION= 0.2.1
+PORTREVISION= 1
CATEGORIES= math
DISTNAME= ${PORTNAME}_${DISTVERSION}
@@ -16,6 +17,4 @@ USES= cran:auto-plist,compiles
OPTIONS_DEFINE= OPENMP
OPTIONS_DEFAULT= OPENMP
-OPENMP_LIB_DEPENDS= libomp.so:devel/openmp
-
.include <bsd.port.mk>
diff --git a/math/ambit/Makefile b/math/ambit/Makefile
index f3baeefe8492..d5418bf87e2e 100644
--- a/math/ambit/Makefile
+++ b/math/ambit/Makefile
@@ -14,7 +14,6 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhdf5.so:science/hdf5 \
- libomp.so:devel/openmp \
libopenblas.so:math/openblas \
libsz.so:science/szip
diff --git a/math/blaze/Makefile b/math/blaze/Makefile
index e301b3494895..03c7bab48960 100644
--- a/math/blaze/Makefile
+++ b/math/blaze/Makefile
@@ -13,11 +13,9 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
- openblas>0:math/openblas \
- openmp>0:devel/openmp
+ openblas>0:math/openblas
RUN_DEPENDS= boost-libs>0:devel/boost-libs \
- openblas>0:math/openblas \
- openmp>0:devel/openmp
+ openblas>0:math/openblas
USES= cmake compiler:c++14-lang fortran localbase:ldflags
NO_ARCH= yes
diff --git a/math/blazeiterative/Makefile b/math/blazeiterative/Makefile
index 51fa98074fdc..36c5c732c621 100644
--- a/math/blazeiterative/Makefile
+++ b/math/blazeiterative/Makefile
@@ -12,8 +12,7 @@ COMMENT= Set of iterative linear system solvers for use with the Blaze library
BUILD_DEPENDS= blaze>0:math/blaze \
boost-libs>0:devel/boost-libs \
- openblas>0:math/openblas \
- openmp>0:devel/openmp
+ openblas>0:math/openblas
RUN_DEPENDS= blaze>0:math/blaze
USES= cmake compiler:c++14-lang fortran localbase:ldflags
diff --git a/math/combblas/Makefile b/math/combblas/Makefile
index f740568c65f4..1374565d73f4 100644
--- a/math/combblas/Makefile
+++ b/math/combblas/Makefile
@@ -2,7 +2,7 @@
PORTNAME= CombBLAS
DISTVERSION= 1.6.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math
MASTER_SITES= https://people.eecs.berkeley.edu/~aydin/${PORTNAME}_FILES/
DISTNAME= ${PORTNAME}_beta_${DISTVERSION:S/.//:S/./_/}
@@ -13,8 +13,7 @@ COMMENT= Combinatorial BLAS library: an extensible parallel graph library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libmpi.so:net/mpich \
- libomp.so:devel/openmp
+LIB_DEPENDS= libmpi.so:net/mpich
RUN_DEPENDS= ${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so.1:lang/gcc${GCC_DEFAULT} # because of the link flags induced by mpich
USES= cmake compiler:c++14-lang localbase:ldflags tar:tgz
diff --git a/math/csdp/Makefile b/math/csdp/Makefile
index 94febd00a813..10116127e60d 100644
--- a/math/csdp/Makefile
+++ b/math/csdp/Makefile
@@ -31,14 +31,7 @@ PLIST_FILES= bin/complement \
bin/rand_graph \
bin/theta
-.include <bsd.port.pre.mk>
-
-# XXX Drop after FreeBSD 12.0 EOL
-.if !exists(/usr/include/omp.h)
-LIB_DEPENDS+= libomp.so:devel/openmp
-.endif
-
post-stage:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/darknet/Makefile b/math/darknet/Makefile
index 68851bc3e83c..8c5fd617a17e 100644
--- a/math/darknet/Makefile
+++ b/math/darknet/Makefile
@@ -4,6 +4,7 @@ PORTNAME= darknet
DISTVERSIONPREFIX= darknet_yolo_v
DISTVERSION= 3-446
DISTVERSIONSUFFIX= -gf2fc239
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= math # machine-learning
@@ -13,8 +14,6 @@ COMMENT= Open source neural networks in C
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libomp.so:devel/openmp
-
USES= cmake compiler:c11
USE_GITHUB= yes
GH_ACCOUNT= AlexeyAB
diff --git a/math/dbcsr/Makefile b/math/dbcsr/Makefile
index ba7e0d40f671..976e2caecb35 100644
--- a/math/dbcsr/Makefile
+++ b/math/dbcsr/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dbcsr
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@@ -35,7 +35,6 @@ MPI_CMAKE_BOOL= USE_MPI
MPI_LIB_DEPENDS= libmpi.so:net/openmpi
OPENMP_CMAKE_BOOL= USE_OPENMP
-OPENMP_LIB_DEPENDS= libomp.so:devel/openmp
C_API_DESC= Build the C API library
C_API_CMAKE_BOOL= WITH_C_API
diff --git a/math/ensmallen/Makefile b/math/ensmallen/Makefile
index 5c5de7110bdb..f66399e0dcc7 100644
--- a/math/ensmallen/Makefile
+++ b/math/ensmallen/Makefile
@@ -2,6 +2,7 @@
PORTNAME= ensmallen
DISTVERSION= 2.11.4
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://ensmallen.org/files/
@@ -11,10 +12,8 @@ COMMENT= Flexible C++ library for efficient mathematical optimization
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo \
- openmp>0:devel/openmp
-RUN_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo \
- openmp>0:devel/openmp
+BUILD_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo
+RUN_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo
USES= cmake localbase
CMAKE_OFF= BUILD_TESTS
diff --git a/math/gretl/Makefile b/math/gretl/Makefile
index ecdcd2c16d5a..51ce97d504cd 100644
--- a/math/gretl/Makefile
+++ b/math/gretl/Makefile
@@ -85,13 +85,6 @@ CONFIGURE_ARGS+= --enable-sse2=yes
CONFIGURE_ARGS+= --enable-sse2=no
.endif
-.include <bsd.port.pre.mk>
-
-# XXX Drop after FreeBSD 12.0 EOL
-.if !exists(/usr/include/omp.h)
-LIB_DEPENDS+= libomp.so:devel/openmp
-.endif
-
post-patch:
@${SED} -i '.orig' -E -e '/#include[[:blank:]]+<sys\/socket\.h>/\
{x; s/.*/#include <netinet\/in.h>/; H; x;}' \
@@ -108,4 +101,4 @@ post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gretl-gtk2/*.so
@${RMDIR} ${STAGEDIR}${DATADIR}/doc
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/hipmcl/Makefile b/math/hipmcl/Makefile
index ea93e9ff1eeb..78a2c55e64af 100644
--- a/math/hipmcl/Makefile
+++ b/math/hipmcl/Makefile
@@ -2,7 +2,7 @@
PORTNAME= HipMCL
DISTVERSION= g20180814
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
@@ -13,8 +13,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
LIB_DEPENDS= libCombBLAS.so:math/combblas \
- libmpi.so:net/mpich \
- libomp.so:devel/openmp
+ libmpi.so:net/mpich
RUN_DEPENDS= ${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so.1:lang/gcc${GCC_DEFAULT} # because of the link flags induced by mpich
USES= cmake compiler:c++14-lang dos2unix localbase:ldflags
diff --git a/math/libnormaliz/Makefile b/math/libnormaliz/Makefile
index 10a460c9ea16..1a5ac8da60dc 100644
--- a/math/libnormaliz/Makefile
+++ b/math/libnormaliz/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libnormaliz
DISTVERSIONPREFIX= v
DISTVERSION= 3.8.4
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= salvadore@FreeBSD.org
@@ -36,7 +37,6 @@ FLINT_DESC= Link with libflint.so
FLINT_BUILD_DEPENDS= ${LOCALBASE}/lib/libflint.so:math/flint2
FLINT_CONFIGURE_WITH= flint
FLINT_LDFLAGS= -lpthread
-OPENMP_BUILD_DEPENDS= ${LOCALBASE}/lib/libomp.so:devel/openmp
OPENMP_CONFIGURE_ENABLE= openmp
do-install:
diff --git a/math/libxsmm/Makefile b/math/libxsmm/Makefile
index c830684725b1..c92fefe71b37 100644
--- a/math/libxsmm/Makefile
+++ b/math/libxsmm/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libxsmm
DISTVERSION= 1.10
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= math science
MAINTAINER= yuri@FreeBSD.org
@@ -15,7 +15,6 @@ ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= relies on hard-coded x86 code, and is only supported on 64-bit
BUILD_DEPENDS= bash:shells/bash
-LIB_DEPENDS= libomp.so:devel/openmp
USES= fortran gmake localbase:ldflags python:build shebangfix
SHEBANG_GLOB= *.sh
diff --git a/math/lis/Makefile b/math/lis/Makefile
index baaabe8bef7b..981ba968541f 100644
--- a/math/lis/Makefile
+++ b/math/lis/Makefile
@@ -2,6 +2,7 @@
PORTNAME= lis
DISTVERSION= 2.0.20
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://www.ssisc.org/lis/dl/
@@ -23,7 +24,6 @@ MPI_CONFIGURE_ENABLE= mpi
MPI_LIB_DEPENDS= libmpi.so:net/mpich
OPENMPI_CONFIGURE_ENABLE= omp
-OPENMPI_LIB_DEPENDS= libomp.so:devel/openmp
PORTEXAMPLES= *
diff --git a/math/mkl-dnn/Makefile b/math/mkl-dnn/Makefile
index b0ed69236ded..9c5a36cd4f34 100644
--- a/math/mkl-dnn/Makefile
+++ b/math/mkl-dnn/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mkl-dnn
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= math # machine-learning
MAINTAINER= yuri@FreeBSD.org
@@ -25,7 +26,6 @@ OPTIONS_DEFINE= OPENMP
OPTIONS_DEFAULT= OPENMP
OPENMP_CMAKE_BOOL= USE_OPENMP
-OPENMP_LIB_DEPENDS= libomp.so:devel/openmp
OPENMP_BROKEN_OFF= still requires omp.h, see https://github.com/intel/mkl-dnn/issues/581
CXXFLAGS_amd64= -msse4.1
diff --git a/math/py-rpy2/Makefile b/math/py-rpy2/Makefile
index 55731ea92065..9457bb9893e9 100644
--- a/math/py-rpy2/Makefile
+++ b/math/py-rpy2/Makefile
@@ -36,10 +36,4 @@ PLIST_FILES= ${PYTHON_SITELIBDIR}/__pycache__/_rinterface_cffi_abi.cpython-${PYT
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_rinterface_cffi_api.abi3.so
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == clang && !exists(/usr/include/omp.h)
-LIB_DEPENDS+= libomp.so:devel/openmp
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/py-yt/Makefile b/math/py-yt/Makefile
index b4395ef6a827..74048bc18898 100644
--- a/math/py-yt/Makefile
+++ b/math/py-yt/Makefile
@@ -3,6 +3,7 @@
PORTNAME= yt
DISTVERSION= 3.5.1
+PORTREVISION= 1
CATEGORIES= math astro python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,6 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING.txt
BUILD_DEPENDS= ${PYNUMPY}
-LIB_DEPENDS= libomp.so:devel/openmp
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>=1.0:math/py-sympy@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=1.5.3:math/py-matplotlib@${PY_FLAVOR} \
diff --git a/math/saga/Makefile b/math/saga/Makefile
index 4193a028d12e..5cd5c3ce1ed5 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -3,7 +3,7 @@
PORTNAME= saga
PORTVERSION= 7.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION}
@@ -56,10 +56,6 @@ OPENMP_DESC= Enable Multiprocessing (only amd64 and i386)
VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library
OPENMP_CONFIGURE_ENABLE= openmp
-OPENMP_LIB_DEPENDS= libomp.so:devel/openmp
-OPENMP_LDFLAGS= -L${LOCALBASE}/lib -lm
-# Use OpenMP from lang/llvm${LLVM_DEFAULT}
-OPENMP_LDFLAGS+= -L${LOCALBASE}/llvm${LLVM_DEFAULT}/lib -lomp
PGSQL_CONFIGURE_WITH= pg
PGSQL_USES= pgsql
VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra
diff --git a/math/timbl/Makefile b/math/timbl/Makefile
index 638cdc9e7f0f..7fc1a82188e0 100644
--- a/math/timbl/Makefile
+++ b/math/timbl/Makefile
@@ -4,7 +4,7 @@
PORTNAME= timbl
DISTVERSIONPREFIX= v
DISTVERSION= 6.4.13
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@@ -13,8 +13,7 @@ COMMENT= Tilburg Memory Based Learner
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libomp.so:devel/openmp \
- libticcutils.so:devel/ticcutils
+LIB_DEPENDS= libticcutils.so:devel/ticcutils
USES= autoreconf compiler:c++11-lang gmake gnome libtool \
pathfix pkgconfig