Use a proper template for the README.

This commit is contained in:
ajacoutot 2013-08-06 21:22:18 +00:00
parent 0b8714e4ff
commit 4ee2cc2c9b
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2013/08/06 21:19:14 landry Exp $
# $OpenBSD: Makefile,v 1.19 2013/08/06 21:22:18 ajacoutot Exp $
SHARED_ONLY= Yes
@ -6,6 +6,7 @@ V = 2.0.3
COMMENT= geographic objects support for PostgreSQL
DISTNAME= postgis-${V}
CATEGORIES= geo databases
REVISION= 0
HOMEPAGE= http://www.postgis.org/

View File

@ -1,3 +1,9 @@
$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
@ -6,8 +12,8 @@ The easiest way to do this is adding the following login class
to login.conf:
postgresql:\
:setenv=LD_PRELOAD=libpthread.so:\
:tc=daemon:
:setenv=LD_PRELOAD=libpthread.so:\
:tc=daemon:
the PostgreSQL rc.d(8) script will take care of launching the daemon
with that login class.