summaryrefslogtreecommitdiff
path: root/databases/postgresql83-server/Makefile
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-10-04 23:38:59 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-10-04 23:38:59 +0000
commit65d15ee84bb39f0b31450ba35eeb0e35fe6d8af9 (patch)
tree72dd7c02200e63af24ced520bf1f618f68dca34d /databases/postgresql83-server/Makefile
parentenabled pgaccess (diff)
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/Makefile')
-rw-r--r--databases/postgresql83-server/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile
index 4b9d2869a991..e433f213cb3a 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; \