Opened 8 years ago
Closed 8 years ago
#51447 closed defect (fixed)
darktable CMake module FindLensFun.cmake has incorrect path
Reported by: | aaron.w.bailey@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | darktable |
Description
When attempting to install the default variant of the darktable, 1.1.2_5+x11, the configure step of the build fails due to an invalid path for the lensfun library. The log shows an error of
:info:configure CMake Error at /opt/local/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):$ 1669 :info:configure Could NOT find LENSFUN (missing: LENSFUN_INCLUDE_DIR)$ 1 :info:configure Call Stack (most recent call first):$ 2 :info:configure /opt/local/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)$ 3 :info:configure cmake/modules/FindLensFun.cmake:30 (find_package_handle_standard_args)$ 4 :info:configure src/CMakeLists.txt:147 (find_package)$
I'm not a CMake expert, but I resolved this issue by updating line 18 of the file /opt/local/var/macports/build/darktable-1.1.2/cmake/modules/FindLensFun.cmake as such:
-- PATHS /usr/include/lensfun ++ PATHS /opt/local/include/lensfun
Change History (1)
comment:1 Changed 8 years ago by ctreleaven (Craig Treleaven)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 4606c62b/macports-ports: