How to use PROJ wrapper port
Sergey Fedorov
vital.had at gmail.com
Sat Jun 28 16:16:47 UTC 2025
You can use `configure.pkg_config_path-prepend` or
`cmake.module_path-append` or alike, tailoring to what exactly you need.
There are ports which use libfmt of specific versions, check how it is done
there.
On Sat, Jun 28, 2025 at 8:23 AM Ryan Carsten Schmidt <
ryandesign at macports.org> wrote:
> On Jun 27, 2025, at 17:42, Dave Allured - NOAA Affiliate wrote:
> >
> >
> > Devs, I want to add a dependency on port:proj, the PROJ generic wrapper,
> to a current port. That port (VTK) uses CMake, and find_package fails
> because all of the cmake and pkgconfig files are inside versioned
> subdirectories such as /opt/local/lib/proj9.
> >
> > Is there a generic way to use the PROJ wrapper port, without hard coding
> a version number or adding a search loop, like I see in many other
> portfiles?
>
> I expect that you should depend on the specific versioned proj port you
> need (not the proj meta port) and use the right cmake flags to tell vtk to
> use that.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20250629/4e8655af/attachment.htm>
More information about the macports-dev
mailing list