Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 15:20:01 -0800 (PST)
From:      Palle Girgensohn <girgen@partitur.se>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/9685: [PATCH] databases/postgesql broken for 4.0-CURRENT
Message-ID:  <199901252320.PAA19319@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/9685; it has been noted by GNATS.

From: Palle Girgensohn <girgen@partitur.se>
To: Sheldon Hearn <axl@iafrica.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/9685: [PATCH] databases/postgesql broken for 4.0-CURRENT
Date: Tue, 26 Jan 1999 00:16:15 +0100

 I sent a complete update of postgresql from 6.4->6.4.2 a few weeks ago,
 but it didn't get comitted (pr-9356). Instead, minimum changes were made
 to the existing, which kept this problem around. Remeber: freebsd3 is
 NOT always elf!
 
 I prefer this patch to this specific problem:
 
 --- /usr/local/src/postgresql-v6.4/src/configure   Mon Nov  2 06:30:06
 1998
 +++ configure	Fri Nov 20 20:33:36 1998
 @@ -617,7 +617,7 @@
       aux*) os=aux need_tas=no ;;
     linux*) os=linux need_tas=no ;;
      bsdi*) os=bsdi need_tas=no ;;
 - freebsd3*) os=freebsd need_tas=no elf=yes ;;
 - freebsd1*|freebsd2*) os=freebsd need_tas=no ;;
 + freebsd*) os=freebsd need_tas=no ;;
 
    netbsd*|openbsd*) os=bsd need_tas=no ;;
      dgux*) os=dgux need_tas=no ;;
 @@ -649,7 +649,7 @@
     exit;;
  esac
  
 -if test "X$elf" = "Xyes"
 +if test "X$PORTOBJFORMAT" = "Xelf"
  then
  	ELF_SYS=true
  else
 
 Regards,
 Palle
 
 
 Sheldon Hearn wrote:
 > 
 > >Number:         9685
 > >Category:       ports
 > >Synopsis:       [PATCH] databases/postgesql broken for 4.0-CURRENT
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    freebsd-ports
 > >State:          open
 > >Quarter:
 > >Keywords:
 > >Date-Required:
 > >Class:          change-request
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Mon Jan 25 11:20:00 PST 1999
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Sheldon Hearn
 > >Release:        FreeBSD 4.0-CURRENT i386
 > >Organization:
 > UUNET Internet Africa
 > >Environment:
 > 
 >         FreeBSD 4.0-CURRENT
 > 
 > >Description:
 > 
 >         The configure script for databases/portsgresql doesn't know
 >         about FreeBSD 4.0, so the port breaks on the configure target.
 > 
 > >How-To-Repeat:
 > 
 >         On any machine where ``uname -r'' report 4.0-CURRENT, do
 >         ``cd /usr/ports/databases/postgresql ; make configure''
 > 
 > >Fix:
 > 
 >         The following diff creates for the port a new patch, which
 >         teaches postgresql's configure script about FreeBSD 4.0:
 > 
 > Index: ports/databases/postgresql/patches/patch-aq
 > ===================================================================
 > RCS file: patch-aq
 > diff -N patch-aq
 > --- /dev/null   Mon Jan 25 21:03:52 1999
 > +++ patch-aq    Mon Jan 25 21:05:26 1999
 > @@ -0,0 +1,10 @@
 > +--- src/configure.orig Mon Jan 25 21:02:18 1999
 > ++++ src/configure      Mon Jan 25 21:02:31 1999
 > +@@ -618,6 +618,7 @@
 > +      aux*) os=aux need_tas=no ;;
 > +    linux*) os=linux need_tas=no ;;
 > +     bsdi*) os=bsdi need_tas=no ;;
 > ++ freebsd4*) os=freebsd need_tas=no elf=yes ;;
 > +  freebsd3*) os=freebsd need_tas=no elf=yes ;;
 > +  freebsd1*|freebsd2*) os=freebsd need_tas=no ;;
 > +   netbsd*|openbsd*) os=bsd need_tas=no ;;
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-ports" in the body of the message

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



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