From 05edfbd27aadb4588a222c02a9e0232d16e282a9 Mon Sep 17 00:00:00 2001 From: andreas Date: Sat, 4 Oct 1997 23:38:59 +0000 Subject: make pgaccess finally work ;-) - in order to access the template1 database as pgsql user, the environment needs the DISPLAY variable set to at least ":0" - pgaccess loads dynamically the libpgtcl.1, some symbols from another dynamic lib are needed as well -> libpq.so.1.0 Makefile (patch-af) modified (copied from the Linux clause), so that shared lib libpgtcl is created with proper loader flags. --- databases/postgresql80-server/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'databases/postgresql80-server') diff --git a/databases/postgresql80-server/Makefile b/databases/postgresql80-server/Makefile index 4b9d2869a991..e433f213cb3a 100644 --- a/databases/postgresql80-server/Makefile +++ b/databases/postgresql80-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.15 1997/10/03 14:13:34 andreas Exp $ +# $Id: Makefile,v 1.16 1997/10/04 22:43:21 andreas Exp $ DISTNAME= postgresql-6.2 CATEGORIES= databases @@ -79,7 +79,9 @@ post-install: >> ${PREFIX}/pgsql/.profile; \ ${ECHO} "PGDATA=${PREFIX}/pgsql/data" \ >> ${PREFIX}/pgsql/.profile; \ - ${ECHO} "export PATH MANPATH PGLIB PGDATA" \ + ${ECHO} "DISPLAY=:0" \ + >> ${PREFIX}/pgsql/.profile; \ + ${ECHO} "export PATH MANPATH PGLIB PGDATA DISPLAY" \ >> ${PREFIX}/pgsql/.profile; \ ${ECHO} "# if you want to make regression tests use this TZ" \ >> ${PREFIX}/pgsql/.profile; \ -- cgit