Skip to content
Snippets Groups Projects
Verified Commit 2d3698b7 authored by sunpoet's avatar sunpoet
Browse files

math/ceres-solver: Fix PLIST with glog 0.5.0

- Add BUILD_DEPENDS to ensure glog 0.5.0+
- Bump PORTREVISION for package change

In aac99061, glog changed to cmake and provided
its own cmake module, therefore ceres-solver does not install its glog-detection
cmake module [1].

from CMakeLists.txt [1]:
762 if (GLOG_FOUND AND NOT FOUND_INSTALLED_GLOG_CMAKE_CONFIGURATION)
763   # Version of glog detected was not built with CMake, install our glog module
764   # file to enable detection in CeresConfig.
765   install(FILES "${Ceres_SOURCE_DIR}/cmake/FindGlog.cmake"
766           DESTINATION ${RELATIVE_CMAKECONFIG_INSTALL_DIR})
767 endif()

Reported by:	thierry
parent 2cdaceb3
No related branches found
No related tags found
No related merge requests found
PORTNAME= ceres-solver
DISTVERSION= 2.0.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= ports@FreeBSD.org
......@@ -9,6 +9,7 @@ COMMENT= Nonlinear least squares minimizer
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= glog>=0.5.0:devel/glog
LIB_DEPENDS= libglog.so:devel/glog
RUN_DEPENDS:= ${BUILD_DEPENDS:Meigen*}
......
......@@ -55,7 +55,6 @@ lib/cmake/Ceres/CeresConfig.cmake
lib/cmake/Ceres/CeresConfigVersion.cmake
lib/cmake/Ceres/CeresTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Ceres/CeresTargets.cmake
lib/cmake/Ceres/FindGlog.cmake
lib/libceres.so
lib/libceres.so.2
lib/libceres.so.%%VERSION%%
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment