summaryrefslogtreecommitdiff
path: root/devel/prc-tools-gdb
diff options
context:
space:
mode:
Diffstat (limited to 'devel/prc-tools-gdb')
-rw-r--r--devel/prc-tools-gdb/Makefile16
-rw-r--r--devel/prc-tools-gdb/distinfo8
-rw-r--r--devel/prc-tools-gdb/files/md54
-rw-r--r--devel/prc-tools-gdb/files/patch-sum3
-rw-r--r--devel/prc-tools-gdb/patches/patch-aa25
-rw-r--r--devel/prc-tools-gdb/patches/patch-ab13
-rw-r--r--devel/prc-tools-gdb/pkg/DESCR5
-rw-r--r--devel/prc-tools-gdb/pkg/PLIST3
8 files changed, 77 insertions, 0 deletions
diff --git a/devel/prc-tools-gdb/Makefile b/devel/prc-tools-gdb/Makefile
new file mode 100644
index 00000000000..c709f2b2d48
--- /dev/null
+++ b/devel/prc-tools-gdb/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+PKGNAME= prc-tools-gdb-${PRC_TOOLS_VERS}
+
+COMMENT= gdb for GNU tool chain for Palm cross development
+
+BASE_DIST= gdb
+BASE_VERS= 4.18
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb/gdb ${PREFIX}/bin/m68k-palmos-gdb
+ ${INSTALL_MAN} ${WRKSRC}/gdb/gdb/gdb.1 \
+ ${PREFIX}/man/man1/m68k-palmos-gdb.1
+
+.include "../../devel/prc-tools/Makefile.common"
diff --git a/devel/prc-tools-gdb/distinfo b/devel/prc-tools-gdb/distinfo
new file mode 100644
index 00000000000..f0bf91bdd81
--- /dev/null
+++ b/devel/prc-tools-gdb/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (prc-tools-2.0.tar.gz) = 0d0ffc4a2f2e9ece8f4a6f66ded2a57c4a551ded
+Size (prc-tools-2.0.tar.gz) = 265333 bytes
+SHA1 (gdb-4.18.tar.gz) = 4b8abe282a62e581ceb95dd8bf5e467a4521d971
+Size (gdb-4.18.tar.gz) = 11657032 bytes
+SHA1 (patch-aa) = 27f6f02ec03a3e2aecc30ef76a42d39c90a6390a
+SHA1 (patch-ab) = 2844cd6dee39de72df6d49f326c98e7201f5405d
diff --git a/devel/prc-tools-gdb/files/md5 b/devel/prc-tools-gdb/files/md5
new file mode 100644
index 00000000000..b6d9e625786
--- /dev/null
+++ b/devel/prc-tools-gdb/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (prc-tools-2.0.tar.gz) = 0d0ffc4a2f2e9ece8f4a6f66ded2a57c4a551ded
+SHA1 (gdb-4.18.tar.gz) = 4b8abe282a62e581ceb95dd8bf5e467a4521d971
diff --git a/devel/prc-tools-gdb/files/patch-sum b/devel/prc-tools-gdb/files/patch-sum
new file mode 100644
index 00000000000..87a150cec15
--- /dev/null
+++ b/devel/prc-tools-gdb/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (patch-aa) = 27f6f02ec03a3e2aecc30ef76a42d39c90a6390a
diff --git a/devel/prc-tools-gdb/patches/patch-aa b/devel/prc-tools-gdb/patches/patch-aa
new file mode 100644
index 00000000000..346e72a2fbd
--- /dev/null
+++ b/devel/prc-tools-gdb/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- Makefile.in.orig Mon Feb 7 20:37:04 2000
++++ Makefile.in Fri Jan 19 06:54:08 2001
+@@ -21,6 +21,8 @@
+ host_subdirs = $(configured_subdirs) doc tools
+ target_subdirs = crt libc libm
+
++all: all-gdb
++
+ # This target will only work if you are willing to do all your building as
+ # a user who can write to your install directory, i.e., if you build as root
+ # or if you're on an unprotected file system like Windows.
+@@ -34,6 +37,11 @@
+ if (cd $${dir} && $(MAKE) all info); then true; else exit 1; fi; \
+ fi; \
+ done
++
++all-gdb:
++ if [ -f ./gdb/Makefile ]; then \
++ if (cd gdb && $(MAKE)); then true; else exit 1; fi; \
++ fi
+
+ all-gcc:
+ if [ -f ./gcc/Makefile ]; then \
diff --git a/devel/prc-tools-gdb/patches/patch-ab b/devel/prc-tools-gdb/patches/patch-ab
new file mode 100644
index 00000000000..940e89acb9b
--- /dev/null
+++ b/devel/prc-tools-gdb/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- gdb/gdb/configure.orig Tue Apr 24 15:23:51 2001
++++ gdb/gdb/configure Tue Apr 24 15:23:59 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
diff --git a/devel/prc-tools-gdb/pkg/DESCR b/devel/prc-tools-gdb/pkg/DESCR
new file mode 100644
index 00000000000..29f639f36bf
--- /dev/null
+++ b/devel/prc-tools-gdb/pkg/DESCR
@@ -0,0 +1,5 @@
+PRC-Tools is a complete compiler tool chain for building Palm OS
+applications in C or C++.
+
+This is a modified version of GNU gdb to function as part of
+the tool chain.
diff --git a/devel/prc-tools-gdb/pkg/PLIST b/devel/prc-tools-gdb/pkg/PLIST
new file mode 100644
index 00000000000..a598fe17b4f
--- /dev/null
+++ b/devel/prc-tools-gdb/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+bin/m68k-palmos-gdb
+man/man1/m68k-palmos-gdb.1