From 4ee2cc2c9b6a651d4e4b6f4b9e08c81130c12196 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Tue, 6 Aug 2013 21:22:18 +0000 Subject: [PATCH] Use a proper template for the README. --- geo/postgis/Makefile | 3 ++- geo/postgis/pkg/README | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/geo/postgis/Makefile b/geo/postgis/Makefile index e6d7bfdfa4e..409f019d33c 100644 --- a/geo/postgis/Makefile +++ b/geo/postgis/Makefile @@ -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/ diff --git a/geo/postgis/pkg/README b/geo/postgis/pkg/README index 80ca573c6e2..d78212f2a5e 100644 --- a/geo/postgis/pkg/README +++ b/geo/postgis/pkg/README @@ -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.