aboutsummaryrefslogtreecommitdiffstats
path: root/math/ceres-solver
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2018-01-03 00:49:24 +0800
committertcberner <tcberner@FreeBSD.org>2018-01-03 00:49:24 +0800
commit98f12cd71d8be47f727a159669046065aff7fb2b (patch)
treefefd75a0b797bfd5f2fbecc832b9a94f740ee983 /math/ceres-solver
parent2e5f9718524f65806c04f8377358291676d5450b (diff)
downloadfreebsd-ports-gnome-98f12cd71d8be47f727a159669046065aff7fb2b.tar.gz
freebsd-ports-gnome-98f12cd71d8be47f727a159669046065aff7fb2b.tar.zst
freebsd-ports-gnome-98f12cd71d8be47f727a159669046065aff7fb2b.zip
New USES=eigen
Usage: USES=eigen:<version>[,<type>] version: 2 or 3 (required) type: build (default), run For example: USES=eigen:2,build,run will add a BUILD- and RUN_DEPENDS on math/eigen2, and USES=eigen:3 will add a BUILD_DEPENDS on math/eigen3. * Convert the existing ports to use it - biology/iqtree: remove run time dependency (seemed not to be needed) - graphics/movit: remove run time dependency (seemed not to be needed) - science/avogadro: add run time dependeny (installed cmake file requires it to be present) Reviewed by: rakuco, mat Differential Revision: https://reviews.freebsd.org/D13702
Diffstat (limited to 'math/ceres-solver')
-rw-r--r--math/ceres-solver/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/math/ceres-solver/Makefile b/math/ceres-solver/Makefile
index 9c8909e64d17..69197b21c7e1 100644
--- a/math/ceres-solver/Makefile
+++ b/math/ceres-solver/Makefile
@@ -14,11 +14,10 @@ COMMENT= Nonlinear least squares minimizer
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= eigen>=3.2.2:math/eigen3
LIB_DEPENDS= libglog.so:devel/glog
RUN_DEPENDS:= ${BUILD_DEPENDS:Meigen*}
-USES= cmake:outsource compiler:${OPENMP}c++11-lib localbase shebangfix
+USES= cmake:outsource compiler:${OPENMP}c++11-lib eigen:3 localbase shebangfix
USE_GITHUB= yes
USE_LDCONFIG= yes
SHEBANG_FILES= examples/slam/pose_graph_*/plot_results.py \