gdb: fix installation of gcore.1 on platforms that support gcore Previously, gcore.1 was only installed on Linux due to an omission in gdb/doc/Makefile.in. This caused file-check errors on Linux since gcore.1 was not mentioned in PLIST.common. To fix this, apply upstream commit [0] so that gcore.1 is installed whenever gcore is. [0] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4b136f6f9aba2122868704bc18fd21e1d232392cdiff -r1.71 -r1.72 pkgsrc/devel/gdb/Makefile
(mcf)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.71 2020/08/31 18:07:20 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.72 2020/10/07 04:34:01 mcf Exp $ | |
2 | 2 | |||
3 | DISTNAME= gdb-8.3.1 | 3 | DISTNAME= gdb-8.3.1 | |
4 | PKGREVISION= 1 | 4 | PKGREVISION= 2 | |
5 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
6 | MASTER_SITES= ${MASTER_SITE_GNU:=gdb/} | 6 | MASTER_SITES= ${MASTER_SITE_GNU:=gdb/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://www.gnu.org/software/gdb/gdb.html | 9 | HOMEPAGE= https://www.gnu.org/software/gdb/gdb.html | |
10 | COMMENT= Symbolic debugger for multiple language frontends | 10 | COMMENT= Symbolic debugger for multiple language frontends | |
11 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
12 | 12 | |||
13 | USE_LANGUAGES= c c++11 | 13 | USE_LANGUAGES= c c++11 | |
14 | 14 | |||
15 | BROKEN_GETTEXT_DETECTION= yes | 15 | BROKEN_GETTEXT_DETECTION= yes | |
16 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
17 | GNU_CONFIGURE_STRICT= no # has sub-configures | 17 | GNU_CONFIGURE_STRICT= no # has sub-configures |
@@ -1,20 +1,22 @@ | @@ -1,20 +1,22 @@ | |||
1 | @comment $NetBSD: PLIST.common,v 1.15 2020/10/06 21:13:38 mcf Exp $ | 1 | @comment $NetBSD: PLIST.common,v 1.16 2020/10/07 04:34:01 mcf Exp $ | |
2 | ${PLIST.gcore}bin/gcore | |||
2 | bin/gdb | 3 | bin/gdb | |
3 | bin/gdb-add-index | 4 | bin/gdb-add-index | |
4 | include/gdb/jit-reader.h | 5 | include/gdb/jit-reader.h | |
5 | info/annotate.info | 6 | info/annotate.info | |
6 | info/gdb.info | 7 | info/gdb.info | |
7 | info/stabs.info | 8 | info/stabs.info | |
9 | ${PLIST.gcore}man/man1/gcore.1 | |||
8 | man/man1/gdb-add-index.1 | 10 | man/man1/gdb-add-index.1 | |
9 | man/man1/gdb.1 | 11 | man/man1/gdb.1 | |
10 | man/man1/gdbserver.1 | 12 | man/man1/gdbserver.1 | |
11 | man/man5/gdbinit.5 | 13 | man/man5/gdbinit.5 | |
12 | ${PLIST.python}share/gdb/python/gdb/FrameDecorator.py | 14 | ${PLIST.python}share/gdb/python/gdb/FrameDecorator.py | |
13 | ${PLIST.python}share/gdb/python/gdb/FrameIterator.py | 15 | ${PLIST.python}share/gdb/python/gdb/FrameIterator.py | |
14 | ${PLIST.python}share/gdb/python/gdb/__init__.py | 16 | ${PLIST.python}share/gdb/python/gdb/__init__.py | |
15 | ${PLIST.python}share/gdb/python/gdb/command/__init__.py | 17 | ${PLIST.python}share/gdb/python/gdb/command/__init__.py | |
16 | ${PLIST.python}share/gdb/python/gdb/command/explore.py | 18 | ${PLIST.python}share/gdb/python/gdb/command/explore.py | |
17 | ${PLIST.python}share/gdb/python/gdb/command/frame_filters.py | 19 | ${PLIST.python}share/gdb/python/gdb/command/frame_filters.py | |
18 | ${PLIST.python}share/gdb/python/gdb/command/pretty_printers.py | 20 | ${PLIST.python}share/gdb/python/gdb/command/pretty_printers.py | |
19 | ${PLIST.python}share/gdb/python/gdb/command/prompt.py | 21 | ${PLIST.python}share/gdb/python/gdb/command/prompt.py | |
20 | ${PLIST.python}share/gdb/python/gdb/command/type_printers.py | 22 | ${PLIST.python}share/gdb/python/gdb/command/type_printers.py | |
@@ -39,14 +41,13 @@ share/gdb/syscalls/freebsd.xml | @@ -39,14 +41,13 @@ share/gdb/syscalls/freebsd.xml | |||
39 | share/gdb/syscalls/gdb-syscalls.dtd | 41 | share/gdb/syscalls/gdb-syscalls.dtd | |
40 | share/gdb/syscalls/i386-linux.xml | 42 | share/gdb/syscalls/i386-linux.xml | |
41 | share/gdb/syscalls/mips-n32-linux.xml | 43 | share/gdb/syscalls/mips-n32-linux.xml | |
42 | share/gdb/syscalls/mips-n64-linux.xml | 44 | share/gdb/syscalls/mips-n64-linux.xml | |
43 | share/gdb/syscalls/mips-o32-linux.xml | 45 | share/gdb/syscalls/mips-o32-linux.xml | |
44 | share/gdb/syscalls/ppc-linux.xml | 46 | share/gdb/syscalls/ppc-linux.xml | |
45 | share/gdb/syscalls/ppc64-linux.xml | 47 | share/gdb/syscalls/ppc64-linux.xml | |
46 | share/gdb/syscalls/s390-linux.xml | 48 | share/gdb/syscalls/s390-linux.xml | |
47 | share/gdb/syscalls/s390x-linux.xml | 49 | share/gdb/syscalls/s390x-linux.xml | |
48 | share/gdb/syscalls/sparc-linux.xml | 50 | share/gdb/syscalls/sparc-linux.xml | |
49 | share/gdb/syscalls/sparc64-linux.xml | 51 | share/gdb/syscalls/sparc64-linux.xml | |
50 | share/gdb/system-gdbinit/elinos.py | 52 | share/gdb/system-gdbinit/elinos.py | |
51 | share/gdb/system-gdbinit/wrs-linux.py | 53 | share/gdb/system-gdbinit/wrs-linux.py | |
52 | ${PLIST.gcore}bin/gcore |
@@ -1,10 +1,11 @@ | @@ -1,10 +1,11 @@ | |||
1 | $NetBSD: distinfo,v 1.34 2020/04/11 12:47:28 bsiegert Exp $ | 1 | $NetBSD: distinfo,v 1.35 2020/10/07 04:34:01 mcf Exp $ | |
2 | 2 | |||
3 | SHA1 (gdb-8.3.1.tar.gz) = 8e68fc5d524caeb6684a8b6ed24e75396e40c471 | 3 | SHA1 (gdb-8.3.1.tar.gz) = 8e68fc5d524caeb6684a8b6ed24e75396e40c471 | |
4 | RMD160 (gdb-8.3.1.tar.gz) = 82c6d7d2c96b4716f9f338b116122b7395b07e90 | 4 | RMD160 (gdb-8.3.1.tar.gz) = 82c6d7d2c96b4716f9f338b116122b7395b07e90 | |
5 | SHA512 (gdb-8.3.1.tar.gz) = e81949fa011046b07ee6886a378bcbd420e4571367005035007dc70f0d28d975d08fb7d9062b49f0a3e6d2ca8149ea60f9ab485ea98a04198d1ca49d38dbd2fe | 5 | SHA512 (gdb-8.3.1.tar.gz) = e81949fa011046b07ee6886a378bcbd420e4571367005035007dc70f0d28d975d08fb7d9062b49f0a3e6d2ca8149ea60f9ab485ea98a04198d1ca49d38dbd2fe | |
6 | Size (gdb-8.3.1.tar.gz) = 38130999 bytes | 6 | Size (gdb-8.3.1.tar.gz) = 38130999 bytes | |
7 | SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7 | 7 | SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7 | |
8 | SHA1 (patch-gdb_doc_Makefile.in) = f7205fe715779e8aed05d230d43320286f74fdd0 | |||
8 | SHA1 (patch-gdb_testsuite_Makefile.in) = 295fa86f16e520a7df907743988cc3dbdb606c2a | 9 | SHA1 (patch-gdb_testsuite_Makefile.in) = 295fa86f16e520a7df907743988cc3dbdb606c2a | |
9 | SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb | 10 | SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb | |
10 | SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347 | 11 | SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347 |
$NetBSD: patch-gdb_doc_Makefile.in,v 1.3 2020/10/07 04:34:01 mcf Exp $
Add missing HAVE_NATIVE_GCORE_HOST variable so that gcore.1 gets
installed properly on non-Linux platforms.
--- gdb/doc/Makefile.in.orig Tue Oct 6 09:03:59 2020
+++ gdb/doc/Makefile.in
@@ -179,6 +179,7 @@ MAN5S = gdbinit.5
MANS = $(MAN1S) $(MAN5S)
HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
+HAVE_NATIVE_GCORE_HOST = @HAVE_NATIVE_GCORE_HOST@
###