aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql-devel-server
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-10-05 07:38:59 +0800
committerandreas <andreas@FreeBSD.org>1997-10-05 07:38:59 +0800
commit05edfbd27aadb4588a222c02a9e0232d16e282a9 (patch)
tree24e63a0bc0e171382cdb83b0bb8b15e93b012dae /databases/postgresql-devel-server
parent13ff553502b1b1a32cabe8aab1fe23fa194937e2 (diff)
downloadfreebsd-ports-gnome-05edfbd27aadb4588a222c02a9e0232d16e282a9.tar.gz
freebsd-ports-gnome-05edfbd27aadb4588a222c02a9e0232d16e282a9.tar.zst
freebsd-ports-gnome-05edfbd27aadb4588a222c02a9e0232d16e282a9.zip
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/postgresql-devel-server')
-rw-r--r--databases/postgresql-devel-server/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/postgresql-devel-server/Makefile b/databases/postgresql-devel-server/Makefile
index 4b9d2869a991..e433f213cb3a 100644
--- a/databases/postgresql-devel-server/Makefile
+++ b/databases/postgresql-devel-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; \