openbsd-ports/geo/postgis/pkg
landry cc43fa7bdc Update to postgis 2.1.3.
Remove patch merged upstream in http://trac.osgeo.org/postgis/ticket/2723
pass INSTALL=install to the do-test target so that things are not
installed with -o/-g. All tests are successful on amd64.
2014-09-02 12:07:46 +00:00
..
DESCR
PLIST Update to postgis 2.1.3. 2014-09-02 12:07:46 +00:00
README

$OpenBSD: README,v 1.2 2013/08/06 21:22:18 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Postgis requires pthreads in order to work. OpenBSD does not allow
shared objects that link to pthreads to be opened via dlopen if the
executable program does not link to pthreads. So to use postgis, you
must ensure that libpthread is loaded before PostgreSQL.
The easiest way to do this is adding the following login class
to login.conf:

postgresql:\
	:setenv=LD_PRELOAD=libpthread.so:\
	:tc=daemon:

the PostgreSQL rc.d(8) script will take care of launching the daemon
with that login class.