- latest ports
- graphics/opencv has in its Makefile CMAKE_ON = ... WITH_GDAL ... but does not include a dependency on gdal
- after installing from a self-built package:
# pkg check -da
Checking all packages: 100%
opencv is missing a required shared library: libgdal.so.3
pkg check -da 11.69s user 0.02s system 99% cpu 11.825 total
- Either the WITH_GDAL is changed to its opposite, or the dependency is added.
A commit in branch main references this bug:
Author: Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-07-18 12:13:52 +0000
Commit: Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-07-18 13:52:58 +0000
graphics/opencv: add makefile options
Bring back lot of the options that were available in the old port.
Reported by: Ivan Rozhuk <email@example.com>
Original by: firstname.lastname@example.org
graphics/opencv/Makefile | 194 ++++++++++++++++-----
.../patch-cmake_OpenCVFindLibsGrfmt.cmake (new) | 14 ++
...atch-modules_imgcodecs_src_grfmt__png.cpp (new) | 11 ++
graphics/opencv/pkg-plist | 139 ++++++++-------
4 files changed, 248 insertions(+), 110 deletions(-)
The GDAL has been added.