Skip to content

Commit

Permalink
math/ceres-solver: Fix PLIST with glog 0.5.0
Browse files Browse the repository at this point in the history
- Add BUILD_DEPENDS to ensure glog 0.5.0+
- Bump PORTREVISION for package change

In aac9906, 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
  • Loading branch information
sunpoet committed May 20, 2021
1 parent 2cdaceb commit 2d3698b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion math/ceres-solver/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= ceres-solver
DISTVERSION= 2.0.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math

MAINTAINER= ports@FreeBSD.org
Expand All @@ -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*}

Expand Down
1 change: 0 additions & 1 deletion math/ceres-solver/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit 2d3698b

Please sign in to comment.