From owner-freebsd-ports Mon Jun 12 0:48:22 2000 Delivered-To: freebsd-ports@freebsd.org Received: from hotmail.com (f97.law8.hotmail.com [216.33.241.97]) by hub.freebsd.org (Postfix) with SMTP id 673C037BBFC for ; Mon, 12 Jun 2000 00:48:18 -0700 (PDT) (envelope-from jmd526@hotmail.com) Received: (qmail 95629 invoked by uid 0); 12 Jun 2000 07:48:17 -0000 Message-ID: <20000612074817.95628.qmail@hotmail.com> Received: from 209.220.228.2 by www.hotmail.com with HTTP; Mon, 12 Jun 2000 00:48:17 PDT X-Originating-IP: [209.220.228.2] From: "John Daniels" To: andreas@freebsd.org Cc: freebsd-ports@freebsd.org, freebsd-databases@freebsd.org Subject: Installing Postgresql v7.0.2 with v7.0.0 port Date: Mon, 12 Jun 2000 03:48:17 EDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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-ports" in the body of the message