#49120: port:automoc should install its cmake files where others expect them --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: worksforme | Keywords: haspatch Port: automoc | --------------------------+-------------------------------- Comment (by michaelld@…): The phonon I'm building is current to the MP trunk latest revision (140944 right now). I have only rev-bumped it to get the qt4-mac changes (local to my test install). There's nothing else special about it or the PortGroups it's using. Let me repeat: cmake looks in both ${prefix}/lib/cmake and ${prefix}/share/cmake for files. It does this out of the box, no changes needed by us, and has done so for a long time. Some projects install their cmake files into the former by default, while others choose the latter by default. Some projects easily allow this directory to be selected, while others don't. There is no 'best practices' to the best of my knowledge for which to install into. I do not know why MP has decided to install into the latter; but, we do, and I try my best to honor that setting. From cmake's perspective, it really does not matter. What does matter is when projects assume one setting and ignore the other. That's not good programming & then we have to go in and fix it. Hopefully notify upstream & they fix it too. I will fix up polkit-qt sometime today, when doing the commits for qt4-mac & qt4-1.0. -- Ticket URL: <https://trac.macports.org/ticket/49120#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X