From nobody@FreeBSD.org  Sat May 22 19:01:47 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 22A9C16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 May 2004 19:01:47 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1C3F643D39
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 May 2004 19:01:47 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4N21FCg011352
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 May 2004 19:01:15 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i4N21Fhj011351;
	Sat, 22 May 2004 19:01:15 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200405230201.i4N21Fhj011351@www.freebsd.org>
Date: Sat, 22 May 2004 19:01:15 -0700 (PDT)
From: Douglas Thrift <douglas@douglasthrift.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: devel/gdb6 made it work on 4.x
X-Send-Pr-Version: www-2.3

>Number:         67061
>Category:       ports
>Synopsis:       Update port: devel/gdb6 made it work on 4.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 22 19:10:03 PDT 2004
>Closed-Date:    Fri Aug 27 15:41:58 GMT 2004
>Last-Modified:  Fri Aug 27 15:41:58 GMT 2004
>Originator:     Douglas Thrift
>Release:        4.10-PRERELEASE
>Organization:
>Environment:
FreeBSD daemon.local.douglasthrift.net 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #6: Sun Apr 25 23:30:14 PDT 2004     douglas@daemon.local.douglasthrift.net:/usr/obj/usr/src/sys/DAEMONIC  i386
>Description:
GDB 6 needs the newer version of Readline provided by devel/readline and GCC 3.4 (lang/gcc34).  Also configure seemed to think that FreeBSD 4.x could use trad-core, which it can't.  Jay Freeman (saurik@saurik.com) helped me with this patch.
>How-To-Repeat:
      
>Fix:
diff -ruN /usr/ports/devel/gdb6/Makefile ./Makefile
--- /usr/ports/devel/gdb6/Makefile	Wed May 12 21:28:38 2004
+++ ./Makefile	Thu May 20 20:30:41 2004
@@ -35,7 +35,11 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 500000
-BROKEN=		"Does not compile on 4.x"
+#BROKEN=		"Does not compile on 4.x"
+LIB_DEPENDS=	readline.4:${PORTSDIR}/devel/readline
+BUILD_DEPENDS+=	gcc34:${PORTSDIR}/lang/gcc34
+CC=	gcc34
+CFLAGS+=	-Wl,--rpath -Wl,${PREFIX}/lib
 .endif
 
 .if ${ARCH} == "amd64"
diff -ruN /usr/ports/devel/gdb6/files/patch-bfd-configure ./files/patch-bfd-configure
--- /usr/ports/devel/gdb6/files/patch-bfd-configure	Wed Dec 31 16:00:00 1969
+++ ./files/patch-bfd-configure	Thu May 20 17:40:21 2004
@@ -0,0 +1,11 @@
+--- /usr/ports/devel/gdb6/work/gdb+dejagnu-20040511/bfd/configure	Mon May 10 18:48:24 2004
++++ bfd/configure	Thu May 20 17:29:15 2004
+@@ -5357,7 +5357,7 @@
+ 	COREFILE=
+ 	;;
+   i[3-7]86-*-bsd* | i[3-7]86-*-freebsd[123] | i[3-7]86-*-freebsd[123]\.* | i[3-7]86-*-freebsd4\.[01234]* | i[3-7]86-*-freebsd*aout*)
+-	COREFILE=trad-core.lo
++	COREFILE=''
+ 	TRAD_HEADER='"hosts/i386bsd.h"'
+ 	;;
+   i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->obrien 
Responsible-Changed-By: vs 
Responsible-Changed-When: Sun May 23 04:26:22 PDT 2004 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67061 

From: "Douglas William Thrift" <douglas@douglasthrift.net>
To: <freebsd-gnats-submit@FreeBSD.org>,
	"Douglas William Thrift" <douglas@douglasthrift.net>
Cc:  
Subject: Re: ports/67061: Update port: devel/gdb6 made it work on 4.x
Date: Thu, 26 Aug 2004 17:16:37 -0700

 Hello,
 
 This PR should be dropped because it is obsolete and has been superseded by
 ports/71011.
 
 Thanks,
 Douglas
 _______________________________________________________________________
 Douglas William Thrift
 <douglas@douglasthrift.net>
 <http://www.douglasthrift.net/>
 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Fri Aug 27 15:41:36 GMT 2004 
State-Changed-Why:  
Obsolete, superseded by ports/71011. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67061 
>Unformatted:
