databases/pgrouting has postgis22 as a requirement, preventing it from installing when e.g. postgis24 is already installed. Exact output seen when attempting to install is: ===> Staging for pgrouting-2.5.2 ===> pgrouting-2.5.2 depends on file: /usr/local/share/postgresql/contrib/postgis-2.2/postgis.sql - not found ===> postgis22-2.2.6_1 conflicts with installed package(s): postgis24-2.4.2 pgrouting does work with postgis 2.4, so the port should be updated to work with either/both.
Yes, it's know with all postgis conflicts. see bug #213038
With https://reviews.freebsd.org/D17320 only the latest stable postgis version will be available.
(In reply to lbartoletti from comment #2) This is not true, since we keep the versions maintained. So by default pgrouting will use the latest version of postgis in ports. Is there a need to have another version of postgis rather than the last one?
could it be closed?
lbartoletti@freebsd.org is now a committer, assigning accordingly.
The default behaviour seems okay, pgrouting doesn't actually care which version it gets, so ideally, it'd just take whatever PostGIS version is already installed. As long as that isn't possible, the current behaviour is probably as good as this gets. Do you want to look at that, or just close it as is?
pgrouting 3.0.0 uses postgis 3