postgresql80-{server,client} tries to force configure to use the specified Kerberos implementation by putting the libraries in LDFLAGS. This is wrong; in order for libpq to be linked properly, the libraries need to end up in configure's LIBS variable instead. Fix: Workaround: edit the makefile to add $(LDFLAGS) to the $(filter ..., $(LIBS)) in src/libpq and rebuild libpq.so.4. How-To-Repeat: Build postgresql80-client. Notice how things that use libpq fail to link because of unresolved dependencies.
Responsible Changed From-To: freebsd-ports-bugs->girgen Assign to maintainer.
A (brute force) patch is available from ftp://orthanc.ca/lyndon/diffs/ports-databases-postgresql80/ Drop the patch-* file into postgresql80-clients/files/ and rebuild/ reinstall and then /usr/local/etc/rc.d/010.pgsql.sh stop /usr/local/etc/rc.d/010.pgsql.sh start Note: I also run this patch against postgresql80-server. I'm not sure that it's strictly necessary to do so, but it doesn't seem to break anything.
State Changed From-To: open->closed Fixed this by not using the base heimdal. While I can get postgresql to linke with it, I cannot get ports using libpq.so to link with that installation. Depend on a Kerberos port instead. See CVS comment in postgresqlXX-server/Makfile for more info.