Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 03:58:17 EDT
From:      "John Daniels" <jmd526@hotmail.com>
To:        freebsd-database@freebsd.org
Subject:   Installing Postgresql v7.0.2 with the v7.0.0 port
Message-ID:  <20000612075817.14552.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi:

This email explains what I had to do to modify the v7.0.0 port so that
it would install v7.0.2.  I am running 4.0-STABLE.  My make command was: 
"make
-DWITH_TCL -DWITH_JDBC".

1) Makefile: I changed "7.0.0" to "7.0.2"

2) Makefile: I commented out the line:
"${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/
pgsql"
because v7.0.2 has no .ps.gz files (see #3)

3) PLIST.doc: I deleted all lines for .ps.gz documents:
share/doc/pgsql/admin.ps.gz
share/doc/pgsql/adminA4.ps.gz
share/doc/pgsql/programmer.ps.gz
share/doc/pgsql/programmerA4.ps.gz
share/doc/pgsql/tutorial.ps.gz
share/doc/pgsql/tutorialA4.ps.gz
share/doc/pgsql/user.ps.gz
share/doc/pgsql/userA4.ps.gz
I assume that ".ps" indicates postscript files and that that form of
documentation has been discontinued.

4) I changed the MD5 file to include the correct file names and
checksums by commenting out the lines that were there and adding the
following lines:

"MD5 (postgresql/postgresql-7.0.2.base.tar.gz) =
871d23b85d9a3599a7ed75dfc7da7ba7"
"MD5 (postgresql/postgresql-7.0.2.docs.tar.gz) =
efac1f87463f252e54d72b256885b883"
"MD5 (postgresql/postgresql-7.0.2.support.tar.gz) =
c21180a6485d85785c8e69f0cbff05dd"
"MD5 (postgresql/postgresql-7.0.2.tar.gz) =
fc512e38394256e2749299fdd69a937e"
"MD5 (postgresql/postgresql-7.0.2.test.tar.gz) =
3443b3d83194c396f20aee2adc6f93bf"

(NOTE I added quote marks, they should not appear in the file.)

5) patch-bb:  I changed the following line:

"CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend"

- to -

"CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend $(PGSQL_INCLUDES)"

6) ** CAUTION **
First, I am not the port maintainer, so I can't say that these changes
are correct or that they are the only changes.  I was not able to
obtain a list of file changes (adds, deletes), so I cannot say that
the file lists in the PLIST files are correct.  I am not very familiar
with ports or Postgresql and I have done limited testing.  ANY USE OF
THE ABOVE CHANGES IS AT YOUR OWN RISK!  I would *strongly* suggest
that you install v7.0.0 or wait for the port maintainer to officially
upgrade the port (about three weeks from now) if at all possible.

7) ERRATA
The next time the port is updated, the following should be taken into
account:
	Tcl/Tk is  now at version 8.3.1.
	Java 2 (JDK 1.2.2) ports are now available on FreeBSD.  The
	  current port only allows for use with JDK 1.1.8.

John
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000612075817.14552.qmail>