#22110: libnova portfile submission ----------------------------------+----------------------------------------- Reporter: jtomshine@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: libnova | ----------------------------------+----------------------------------------- Comment(by jtomshine@…): Replying to [comment:5 toby@…]:
Just checked the libindi0 source - it's using `#include <libnova.h>`
I'd argue that they're doing it wrong, but this style of include works fine if you do `-I${prefix}/include -I${prefix}/include/libnova` ... no need for the symlinks
I looked into it a bit more closely & now I just use a regular expression to change the includes in the sources for the package that relies on libnova (indi). This works well, is probably more canonical, and avoids the symlinks. When the indi port has been finished, I'll submit that too. Thanks for the advice by the way -- I'd prefer to adhere to good style guidelines as much as possible. -Jon -- Ticket URL: <http://trac.macports.org/ticket/22110#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS