summaryrefslogtreecommitdiff
path: root/devel/gdb
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2011-12-14 02:29:30 +0000
committersbd <sbd@pkgsrc.org>2011-12-14 02:29:30 +0000
commit407e4bc9fd5b410ba6324cfdaef50e7aece5e427 (patch)
tree36855d8d8140c0c748cf0ea6dab1f2ee03e0f274 /devel/gdb
parent809486b428e346336e608e262688728875cc26c3 (diff)
downloadpkgsrc-407e4bc9fd5b410ba6324cfdaef50e7aece5e427.tar.gz
Revert following commit (gdb doesn't confict with autoconf):
Module Name: pkgsrc Committed By: sbd Date: Tue Dec 13 06:58:09 UTC 2011 Modified Files: pkgsrc/devel/gdb: Makefile distinfo pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_configure.in Added Files: pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_config.in patch-gdb_gdbserver_configure Log Message: This package can't use autoconf as to conflicts with it. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/gdb/Makefile cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/gdb/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_config.in \ pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_configure cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_configure.in
Diffstat (limited to 'devel/gdb')
-rw-r--r--devel/gdb/Makefile9
-rw-r--r--devel/gdb/distinfo6
-rw-r--r--devel/gdb/patches/patch-gdb_gdbserver_config.in10
-rw-r--r--devel/gdb/patches/patch-gdb_gdbserver_configure13
-rw-r--r--devel/gdb/patches/patch-gdb_gdbserver_configure.in4
5 files changed, 12 insertions, 30 deletions
diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile
index 5ab0bd8492b..68c9999651a 100644
--- a/devel/gdb/Makefile
+++ b/devel/gdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2011/12/13 06:58:08 sbd Exp $
+# $NetBSD: Makefile,v 1.42 2011/12/14 02:29:30 sbd Exp $
#
DISTNAME= gdb-5.3
@@ -30,6 +30,13 @@ CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
.if ${OPSYS} == "SunOS"
# Work around a bug in gdb's configure
CONFIGURE_ENV+= ac_cv_header_curses_h=yes
+.elif ${OPSYS} == "Linux"
+USE_TOOLS+= aclocal autoheader autoconf
+
+pre-configure:
+ ${RUN} cd ${WRKSRC}/gdb/gdbserver && \
+ aclocal && autoheader && autoconf
+
.endif
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/devel/gdb/distinfo b/devel/gdb/distinfo
index 05156809bf0..e577b5f09de 100644
--- a/devel/gdb/distinfo
+++ b/devel/gdb/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2011/12/13 06:58:08 sbd Exp $
+$NetBSD: distinfo,v 1.20 2011/12/14 02:29:30 sbd Exp $
SHA1 (gdb-5.3.tar.gz) = 24a6c9da6e89b1b82b7508f27f94098d989ff662
RMD160 (gdb-5.3.tar.gz) = 3f88dc11115de08708c50c73b10acaf00ed25e96
@@ -25,9 +25,7 @@ SHA1 (patch-bfd_po_Make-in) = 9e09652c95dbea0d7017102546c4e959abc199da
SHA1 (patch-gdb_Makefile.in) = 229c14522ddf8f5ddfdd414d77be1ddefc5635db
SHA1 (patch-gdb_doc_Makefile.in) = 44f1fc8db2f37dae1ba0db3ae1192ec8ef47f4a3
SHA1 (patch-gdb_gdbserver_Makefile.in) = 00e0015600847401ecd4471afd53c7e5030e1f15
-SHA1 (patch-gdb_gdbserver_config.in) = ca248b1dcc683c435806b4f40c29548fc613ec4c
-SHA1 (patch-gdb_gdbserver_configure) = 631e4e9d6c700710cfff7d3b5be1765cc0632ecb
-SHA1 (patch-gdb_gdbserver_configure.in) = 3a5a63f2a106495416bc07578d43ae40bf8ef40b
+SHA1 (patch-gdb_gdbserver_configure.in) = 064fc1e61fb5b301f4e8601f7754b38a444c2e97
SHA1 (patch-mmalloc_Makefile.in) = 1c45f0b326b838d442979e4ada45c0e5fc2da1c5
SHA1 (patch-ob) = 52c017dfa9f535edc9520144efa8ef04a8020832
SHA1 (patch-opcodes_po_Make-in) = c4f9d3d19a52acab6c18454b1ff95c9e1302c5bf
diff --git a/devel/gdb/patches/patch-gdb_gdbserver_config.in b/devel/gdb/patches/patch-gdb_gdbserver_config.in
deleted file mode 100644
index fb1163abe5e..00000000000
--- a/devel/gdb/patches/patch-gdb_gdbserver_config.in
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: patch-gdb_gdbserver_config.in,v 1.1 2011/12/13 06:58:08 sbd Exp $
-
---- gdb/gdbserver/config.in.orig 2002-07-24 21:30:46.000000000 +0000
-+++ gdb/gdbserver/config.in
-@@ -61,3 +61,5 @@
- /* Define if <sys/procfs.h> has elf_fpregset_t. */
- #undef HAVE_ELF_FPREGSET_T
-
-+/* Define if you have the <stdlib.h> header file. */
-+#undef HAVE_STDLIB_H
diff --git a/devel/gdb/patches/patch-gdb_gdbserver_configure b/devel/gdb/patches/patch-gdb_gdbserver_configure
deleted file mode 100644
index 3466ad130b9..00000000000
--- a/devel/gdb/patches/patch-gdb_gdbserver_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-gdb_gdbserver_configure,v 1.1 2011/12/13 06:58:08 sbd Exp $
-
---- gdb/gdbserver/configure.orig 2002-07-24 21:30:46.000000000 +0000
-+++ gdb/gdbserver/configure
-@@ -1105,7 +1105,7 @@ EOF
- fi
-
-
--for ac_hdr in sgtty.h termio.h termios.h sys/reg.h string.h proc_service.h sys/procfs.h thread_db.h linux/elf.h unistd.h
-+for ac_hdr in sgtty.h termio.h termios.h sys/reg.h string.h stdlib.h proc_service.h sys/procfs.h thread_db.h linux/elf.h unistd.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/gdb/patches/patch-gdb_gdbserver_configure.in b/devel/gdb/patches/patch-gdb_gdbserver_configure.in
index 3470826fc66..78a911a6872 100644
--- a/devel/gdb/patches/patch-gdb_gdbserver_configure.in
+++ b/devel/gdb/patches/patch-gdb_gdbserver_configure.in
@@ -1,4 +1,4 @@
-$NetBSD: patch-gdb_gdbserver_configure.in,v 1.2 2011/12/13 06:58:08 sbd Exp $
+$NetBSD: patch-gdb_gdbserver_configure.in,v 1.3 2011/12/14 02:29:30 sbd Exp $
If <stdlib.h> is needed and its wrapped with HAVE_STDDLIB_H it must be
tested for by autoconf!
@@ -10,7 +10,7 @@ tested for by autoconf!
AC_HEADER_STDC
-AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
-+AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h stdlib.h dnl
++AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl stdlib.h
proc_service.h sys/procfs.h thread_db.h linux/elf.h unistd.h)
. ${srcdir}/configure.srv