cvs commit: ports/databases/postgresql73-server Makefile ports/databases/postgresql74-server Makefile ports/databases/postgresql80-server Makefile ports/databases/postgresql81-server Makefile

Brian Fundakowski Feldman green at FreeBSD.org
Mon Nov 14 16:58:42 PST 2005


On Mon, Nov 14, 2005 at 11:59:26PM +0000, Palle Girgensohn wrote:
> girgen      2005-11-14 23:59:26 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     databases/postgresql73-server Makefile 
>     databases/postgresql74-server Makefile 
>     databases/postgresql80-server Makefile 
>     databases/postgresql81-server Makefile 
>   Log:
>   Let postgresql (libpq.so) only link with the Kerberos implementations
>   installed from ports. The base heimdal distribution installs libraries
>   that have no depenency information. While this is quite correct, it
>   means that each library that links with libpq.so must also know if
>   libpq.so is linked with libkrb.so et al. Problem is, there's no good
>   way to get this information (pg_config has a --libs option starting at
>   version 8.1) and all ports using postgresql must be changed to make it
>   possible to link with a libpq.so that was configured to use the
>   Kerberos implementation installed in /usr by default. Hence, we
>   require one of the ports (heimdal or krb5) if postgresql is to be
>   linked with Kerberos. At least for now, until we can fix this in some
>   better way.

That's silly!  We already know what the libraries are when we're
building the port, so there's no reason they can't be linked to
libpq.so explicitly from the PostgreSQL-client port build, is there?

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


More information about the cvs-all mailing list