Opened 11 years ago

Closed 11 years ago

#38831 closed defect (fixed)

qca installs /opt/local/share/cmake/modules/FindQCA2.cmake

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: qca

Description

qca installs /opt/local/share/cmake/modules/FindQCA2.cmake but the directory name should be "Modules" not "modules".

Change History (3)

comment:1 Changed 11 years ago by michaelld (Michael Dickens)

Looks like "phonon" does the same thing. Should I actually use ${prefix}/share/cmake-${cmake_version}/Modules, which is where CMake puts it's self-installed modules? I mean, so long as there is no conflict. Hmm ... maybe we're better off just keeping non-cmake-installed modules in share/cmake/Modules ...

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

According to the documentation:

First CMake checks all directories in ${CMAKE_MODULE_PATH}, then it looks in its own module directory <CMAKE_ROOT>/share/cmake-x.y/Modules/.

Based on this, I think ${prefix}/share/cmake-${cmake_version}/Modules intended for cmake itself to use, and other ports should not install files there.

comment:3 Changed 11 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Fixed for phonon; and qca in r105453.

Note: See TracTickets for help on using tickets.