pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gdb-git: Fix conditional installation of gcore(1)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Sep 5 16:30:52 2017 +0200
Changeset:	52e0e9a0b79eef5892b908c52926d6ad57e47852

Modified Files:
	gdb-git/PLIST.common
	gdb-git/distinfo
Added Files:
	gdb-git/patches/patch-gdb_Makefile.in

Log Message:
gdb-git: Fix conditional installation of gcore(1)

Fixes NetBSD build. This script has been nuked from gcore(1) OSes.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=52e0e9a0b79eef5892b908c52926d6ad57e47852

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gdb-git/PLIST.common                  |  1 -
 gdb-git/distinfo                      |  1 +
 gdb-git/patches/patch-gdb_Makefile.in | 13 +++++++++++++
 3 files changed, 14 insertions(+), 1 deletion(-)

diffs:
diff --git a/gdb-git/PLIST.common b/gdb-git/PLIST.common
index 059af8cd07..682758a902 100644
--- a/gdb-git/PLIST.common
+++ b/gdb-git/PLIST.common
@@ -7,7 +7,6 @@ info/annotate.info
 info/bfd.info
 info/gdb.info
 info/stabs.info
-lib/charset.alias
 man/man1/gdb.1
 man/man1/gdbserver.1
 man/man5/gdbinit.5
diff --git a/gdb-git/distinfo b/gdb-git/distinfo
index 4f6d1f1973..974d94600e 100644
--- a/gdb-git/distinfo
+++ b/gdb-git/distinfo
@@ -3,5 +3,6 @@ $NetBSD: distinfo,v 1.10 2015/03/15 14:22:19 bsiegert Exp $
 SHA1 (gdb-7.9.tar.gz) = 8f89aa6847dc87de2f720779a87ba360bdbc7efd
 RMD160 (gdb-7.9.tar.gz) = 939dda771a073e82e7d72fd584246f3d1d8e9bdc
 Size (gdb-7.9.tar.gz) = 33225783 bytes
+SHA1 (patch-gdb_Makefile.in) = bb23badbe730a750143f44bbd1c2cd9db9948381
 SHA1 (patch-gdb_config_djgpp_djconfig.sh) = 38dd7868eaac20170b96664e0caec1cad86b8b4d
 SHA1 (patch-gdb_configure.nat) = 024f2a503380b9a2f0d0914b860b1aba84d175bd
diff --git a/gdb-git/patches/patch-gdb_Makefile.in b/gdb-git/patches/patch-gdb_Makefile.in
new file mode 100644
index 0000000000..6c19e26456
--- /dev/null
+++ b/gdb-git/patches/patch-gdb_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- gdb/Makefile.in.orig	2017-09-05 14:15:26.304324019 +0000
++++ gdb/Makefile.in
+@@ -2083,7 +2083,7 @@ install-only: $(CONFIG_INSTALL)
+ 			$(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
+ 		$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(includedir)/gdb ; \
+ 		$(INSTALL_DATA) jit-reader.h $(DESTDIR)$(includedir)/gdb/jit-reader.h
+-	if test "x$(HAVE_NATIVE_GCORE_TARGET)$(HAVE_NATIVE_GCORE_HOST)" != x; \
++	if test "x$(HAVE_NATIVE_GCORE_TARGET)$(HAVE_NATIVE_GCORE_HOST)" = x; \
+ 	then \
+ 	  transformed_name=`t='$(program_transform_name)'; \
+ 			    echo gcore | sed -e "$$t"` ; \


Home | Main Index | Thread Index | Old Index