[MacPorts] #51447: darktable CMake module FindLensFun.cmake has incorrect path

MacPorts noreply at macports.org
Thu May 19 21:53:54 PDT 2016


#51447: darktable CMake module FindLensFun.cmake has incorrect path
------------------------------+--------------------------------
 Reporter:  aaron.w.bailey@…  |      Owner:  macports-tickets@…
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.3.4
 Keywords:                    |       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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51447>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list