Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 09:18:13 +0200 (CEST)
From:      Helge Oldach <send-pr-prc-tools@oldach.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Jun Kuriyama <kuriyama@freebsd.org>
Subject:   ports/31486: ports/palm/prc-tools-gcc does not build m68k-palmos-gdb (with patch)
Message-ID:  <200110250718.f9P7IDO06873@sep.oldach.net>

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

>Number:         31486
>Category:       ports
>Synopsis:       ports/palm/prc-tools-gcc does not build m68k-palmos-gdb (with patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 25 00:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD sep.oldach.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Sep 19 05:10:38 CEST 2001 toor@sep.hamburg.com:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

ports/palm/prc-tools-gcc does only install m68k-palmos-gcc but does not
install the debugger m68k-palmos-gdb.

>How-To-Repeat:
	
>Fix:

(1) additional patch in ports/palm/prc-tools-gcc/files:

--- ../prc-tools-2.0/Makefile.in.ORIG	Mon Feb  7 20:37:04 2000
+++ ../prc-tools-2.0/Makefile.in	Wed Oct 24 23:07:30 2001
@@ -40,6 +40,11 @@
 	  if (cd gcc && $(MAKE)); then true; else exit 1; fi; \
 	fi
 
+all-gdb:
+	if [ -f ./gdb/Makefile ]; then \
+	  if (cd gdb && $(MAKE)); then true; else exit 1; fi; \
+	fi
+
 all-target:
 	for dir in $(target_subdirs); do \
 	  if [ -f ./$${dir}/Makefile ]; then \
@@ -57,6 +62,11 @@
 install-gcc:
 	if [ -f ./gcc/Makefile ]; then \
 	  if (cd gcc && $(MAKE) LANGUAGES="c c++" install); then true; else exit 1; fi; \
+	fi
+
+install-gdb:
+	if [ -f ./gdb/Makefile ]; then \
+	  if (cd gdb && $(MAKE) LANGUAGES="c c++" install); then true; else exit 1; fi; \
 	fi
 
 install-target:
--- ../gdb-4.18/gdb/configure.ORIG	Wed Apr  7 23:04:34 1999
+++ ../gdb-4.18/gdb/configure	Wed Oct 24 23:48:42 2001
@@ -3132,7 +3132,7 @@
 	memory.h objlist.h ptrace.h sgtty.h stddef.h stdlib.h \
 	string.h sys/procfs.h sys/ptrace.h sys/reg.h \
 	term.h termio.h termios.h unistd.h wait.h sys/wait.h \
-	wchar.h wctype.h asm/debugreg.h sys/debugreg.h
+	wchar.h asm/debugreg.h sys/debugreg.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6

(2) modification of ports/palm/prc-tools-gcc/Makefile:

ALL_TARGET=	all-gcc all-gdb
INSTALL_TARGET=	install-gcc all-gdb
MAN1=		cccp.1 m68k-palmos-g++.1 m68k-palmos-gcc.1 m68k-palmos-gdb.1
>Release-Note:
>Audit-Trail:
>Unformatted:

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?200110250718.f9P7IDO06873>