[Bug 226962] databases/postgis24 Question: How to run postgis24 with postgresql10 ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 30 18:51:32 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226962

Shane <FreeBSD at ShaneWare.Biz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |FreeBSD at ShaneWare.Biz

--- Comment #2 from Shane <FreeBSD at ShaneWare.Biz> ---
postgis is setup with USES=pgsql - this means is uses whatever postgresql
version is set as default.

If you are installing the postgis pkg from the public pkg repo, then it will
have been built to use postgresql 9.5 which is the system default version,
leading to it wanting to replace your existing PG10 install. To use postgis
with another version you will need to compile it yourself, building the port
should prefer an installed version over the default settings.

If you were setting up your own pkg repo you would need to adjust your default
version by adding DEFAULT_VERSIONS= pgsql=10 to the make.conf. You can also do
that if you build all your own ports.

You will get the same issue with other ports that depend on the postgresql
client libraries.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list