svn commit: r561774 - head/math/dune-istl
Yuri Victorovich
yuri at FreeBSD.org
Sun Jan 17 00:30:21 UTC 2021
Author: yuri
Date: Sun Jan 17 00:30:20 2021
New Revision: 561774
URL: https://svnweb.freebsd.org/changeset/ports/561774
Log:
math/dune-istl: Fix math/arpack++ detection im installed cmake files; Add dependencies
Modified:
head/math/dune-istl/Makefile
Modified: head/math/dune-istl/Makefile
==============================================================================
--- head/math/dune-istl/Makefile Sat Jan 16 23:55:26 2021 (r561773)
+++ head/math/dune-istl/Makefile Sun Jan 17 00:30:20 2021 (r561774)
@@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= dune-istl
-DISTVERSIONPREFIX= v
DISTVERSION= 2.7.1
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri at FreeBSD.org
@@ -11,9 +11,12 @@ COMMENT= DUNE framework: Iterative Solver Template Lib
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-BUILD_DEPENDS= dune-common>0:math/dune-common \
+HPP_DEPENDS= arpack++>0:math/arpack++ \
+ dune-common>0:math/dune-common \
+ suitesparse>0:math/suitesparse # needed in headers, but OPTIONAL dependency set is wider: https://gitlab.dune-project.org/core/dune-istl/-/issues/97
+BUILD_DEPENDS= ${HPP_DEPENDS} \
vc>0:devel/vc
-RUN_DEPENDS= dune-common>0:math/dune-common
+RUN_DEPENDS= ${HPP_DEPENDS}
USES= cmake compiler:c++17-lang fortran pkgconfig
USE_GITLAB= yes
@@ -24,12 +27,15 @@ GL_COMMIT= 761b28aa1deaa786ec55584ace99667545f1b493
NO_ARCH= yes
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS PARMETIS
OPTIONS_SUB= yes
DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \
- sphinx-build:textproc/py-sphinx
+
+PARMETIS_DESC= Install PerMetis # needed in headers, but license prohibits packaging
+PARMETIS_BUILD_DEPENDS= ParMetis>0:math/parmetis
+PARMETIS_RUN_DEPENDS= ParMetis>0:math/parmetis
PORTDOCS= *
More information about the svn-ports-all
mailing list