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.
This commit is contained in:
Andreas Klemm 1997-10-04 23:38:59 +00:00
parent f12060909c
commit 65d15ee84b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8115
14 changed files with 56 additions and 28 deletions

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \

View File

@ -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; \