diff options
author | andreas <andreas@FreeBSD.org> | 1997-10-04 23:38:59 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1997-10-04 23:38:59 +0000 |
commit | 05edfbd27aadb4588a222c02a9e0232d16e282a9 (patch) | |
tree | 24e63a0bc0e171382cdb83b0bb8b15e93b012dae /databases/postgresql83-server | |
parent | 13ff553502b1b1a32cabe8aab1fe23fa194937e2 (diff) | |
download | FreeBSD-ports-05edfbd27aadb4588a222c02a9e0232d16e282a9.zip FreeBSD-ports-05edfbd27aadb4588a222c02a9e0232d16e282a9.tar.gz |
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.
Diffstat (limited to 'databases/postgresql83-server')
-rw-r--r-- | databases/postgresql83-server/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile index 4b9d286..e433f21 100644 --- a/databases/postgresql83-server/Makefile +++ b/databases/postgresql83-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $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; \ |