Opened 5 years ago

Closed 4 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


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 4 years ago by ctreleaven (Craig Treleaven)

Resolution: fixed
Status: newclosed

In 4606c62b/macports-ports:

darktable: update to 2.2.3

Major reworking of darktable port. Project is now hosted on github, significant
changes to deps (including update to gtk3), only builds with quartz.

Minor functional testing so far other than to launch and display jpegs.

See #43286
Believed to:
Fix #43199
Fix #47226
Fix #51447

Note: See TracTickets for help on using tickets.