pkgsrc-WIP-changes archive

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

gdb-git: Simplify



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Sep 12 13:47:46 2017 +0200
Changeset:	958e209cea95eef45ca823ffb50b0cabae8672f4

Modified Files:
	gdb-git/Makefile
	gdb-git/PLIST.common
Removed Files:
	gdb-git/PLIST.NetBSD

Log Message:
gdb-git: Simplify

Stop requiring GIT_DEEP_CLONE on the GitHub mirror.
Remove BROKEN_GETTEXT_DETECTION.
Install only gdb files (use INSTALL_DIRS).
Install gcore on NetBSD.
Remove bfd files from PLIST.

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

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

diffstat:
 gdb-git/Makefile     |  6 ++++--
 gdb-git/PLIST.NetBSD |  8 --------
 gdb-git/PLIST.common | 35 -----------------------------------
 3 files changed, 4 insertions(+), 45 deletions(-)

diffs:
diff --git a/gdb-git/Makefile b/gdb-git/Makefile
index 32a1510a2e..0ecb238efe 100644
--- a/gdb-git/Makefile
+++ b/gdb-git/Makefile
@@ -7,7 +7,7 @@ GIT_REPOSITORIES=	gdb
 #GIT_REPO.gdb=		git://sourceware.org/git/binutils-gdb.git # broken?
 #GIT_REPO.gdb=		http://sourceware.org/git/binutils-gdb.git # broken?
 GIT_REPO.gdb=		https://github.com/wallento/binutils-gdb.git
-GIT_DEEP_CLONE.gdb=	yes # server dies on shallow clones
+#GIT_DEEP_CLONE.gdb=	yes # server dies on shallow clones
 WRKSRC=         ${WRKDIR}/gdb
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -17,7 +17,6 @@ LICENSE=	gnu-gpl-v3
 
 USE_LANGUAGES=		c c++11
 
-BROKEN_GETTEXT_DETECTION=	yes
 GNU_CONFIGURE=		YES
 USE_PKGLOCALEDIR=	YES
 USE_LIBTOOL=		YES
@@ -35,6 +34,8 @@ CONFIGURE_ARGS+=	--disable-gas
 CONFIGURE_ARGS+=	--disable-ld
 CONFIGURE_ARGS+=	--enable-targets=all
 
+INSTALL_DIRS=		gdb
+
 # In gdb/configure, depcomp is parsed with sed.
 SUBST_CLASSES+=			fix-depcomp
 SUBST_STAGE.fix-depcomp+=	pre-configure
@@ -60,6 +61,7 @@ CONFIGURE_ENV+= gdb_cv_var_elf=yes
 MAKE_ENV+= gdb_cv_var_elf=yes
 CONFIGURE_ENV+= gdb_cv_struct_lwp=yes
 MAKE_ENV+= gdb_cv_struct_lwp=yes
+PLIST.gcore=	YES
 .elif ${OPSYS} == "DragonFly"
 TARGET_STR=		${MACHINE_ARCH}--dragonfly
 BUILD_DEFS+=		${TARGET_STR}
diff --git a/gdb-git/PLIST.NetBSD b/gdb-git/PLIST.NetBSD
deleted file mode 100644
index bfd094a1c0..0000000000
--- a/gdb-git/PLIST.NetBSD
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST.NetBSD,v 1.1 2013/02/04 11:28:19 makoto Exp $
-include/ansidecl.h
-include/bfd.h
-include/bfdlink.h
-include/dis-asm.h
-include/symcat.h
-lib/libbfd.la
-lib/libopcodes.la
diff --git a/gdb-git/PLIST.common b/gdb-git/PLIST.common
index 682758a902..4e04ede25d 100644
--- a/gdb-git/PLIST.common
+++ b/gdb-git/PLIST.common
@@ -2,9 +2,7 @@
 bin/gdb
 ${PLIST.gcore}bin/gcore
 include/gdb/jit-reader.h
-include/plugin-api.h
 info/annotate.info
-info/bfd.info
 info/gdb.info
 info/stabs.info
 man/man1/gdb.1
@@ -50,36 +48,3 @@ share/gdb/syscalls/sparc-linux.xml
 share/gdb/syscalls/sparc64-linux.xml
 share/gdb/system-gdbinit/elinos.py
 share/gdb/system-gdbinit/wrs-linux.py
-share/locale/da/LC_MESSAGES/bfd.mo
-share/locale/da/LC_MESSAGES/opcodes.mo
-share/locale/de/LC_MESSAGES/opcodes.mo
-share/locale/es/LC_MESSAGES/bfd.mo
-share/locale/es/LC_MESSAGES/opcodes.mo
-share/locale/fi/LC_MESSAGES/bfd.mo
-share/locale/fi/LC_MESSAGES/opcodes.mo
-share/locale/fr/LC_MESSAGES/bfd.mo
-share/locale/fr/LC_MESSAGES/opcodes.mo
-share/locale/ga/LC_MESSAGES/opcodes.mo
-share/locale/hr/LC_MESSAGES/bfd.mo
-share/locale/id/LC_MESSAGES/bfd.mo
-share/locale/id/LC_MESSAGES/opcodes.mo
-share/locale/it/LC_MESSAGES/opcodes.mo
-share/locale/ja/LC_MESSAGES/bfd.mo
-share/locale/nl/LC_MESSAGES/opcodes.mo
-share/locale/pt_BR/LC_MESSAGES/opcodes.mo
-share/locale/ro/LC_MESSAGES/bfd.mo
-share/locale/ro/LC_MESSAGES/opcodes.mo
-share/locale/ru/LC_MESSAGES/bfd.mo
-share/locale/rw/LC_MESSAGES/bfd.mo
-share/locale/sr/LC_MESSAGES/bfd.mo
-share/locale/sr/LC_MESSAGES/opcodes.mo
-share/locale/sv/LC_MESSAGES/bfd.mo
-share/locale/sv/LC_MESSAGES/opcodes.mo
-share/locale/tr/LC_MESSAGES/bfd.mo
-share/locale/tr/LC_MESSAGES/opcodes.mo
-share/locale/uk/LC_MESSAGES/bfd.mo
-share/locale/uk/LC_MESSAGES/opcodes.mo
-share/locale/vi/LC_MESSAGES/bfd.mo
-share/locale/vi/LC_MESSAGES/opcodes.mo
-share/locale/zh_CN/LC_MESSAGES/bfd.mo
-share/locale/zh_CN/LC_MESSAGES/opcodes.mo


Home | Main Index | Thread Index | Old Index