pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gdb-git: Sync with devel/gdb
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Sep 5 13:54:25 2017 +0200
Changeset: 94a99889b7751a82a5d964bf8dcdc9718a3e5d77
Modified Files:
gdb-git/Makefile
Log Message:
gdb-git: Sync with devel/gdb
This package still does not build.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=94a99889b7751a82a5d964bf8dcdc9718a3e5d77
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gdb-git/Makefile | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diffs:
diff --git a/gdb-git/Makefile b/gdb-git/Makefile
index 2766460730..7ca1f3edb9 100644
--- a/gdb-git/Makefile
+++ b/gdb-git/Makefile
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.11 2015/03/15 14:22:19 bsiegert Exp $
#
-DISTNAME= gdb-7.9
+DISTNAME= gdb-8.0
CATEGORIES= devel
GIT_REPOSITORIES= gdb
GIT_REPO.gdb= git://sourceware.org/git/binutils-gdb.git
@@ -13,20 +13,27 @@ HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html
COMMENT= Symbolic debugger for multiple language frontends
LICENSE= gnu-gpl-v3
-#NOT_FOR_PLATFORM= Darwin-*-* DragonFly-*-*
+USE_LANGUAGES= c c++11
BROKEN_GETTEXT_DETECTION= yes
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
-USE_TOOLS+= gmake msgfmt makeinfo perl
+USE_TOOLS+= gmake msgfmt makeinfo perl:build
REPLACE_LOCALEDIR_PATTERNS+= Make-in
INSTALL_TARGET= install install-info
TEST_TARGET= check
INFO_FILES= yes
CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
-USE_LANGUAGES= c c++
+# In gdb/configure, depcomp is parsed with sed.
+SUBST_CLASSES+= fix-depcomp
+SUBST_STAGE.fix-depcomp+= pre-configure
+SUBST_MESSAGE.fix-depcomp+= Read depcomp directly
+SUBST_FILES.fix-depcomp+= gdb/configure
+SUBST_SED.fix-depcomp+= -e 's,< ./depcomp,${_OVERRIDE_PATH.depcomp},'
+
+AUTO_MKDIRS= yes
.include "options.mk"
@@ -43,12 +50,6 @@ MAKE_ENV+= gdb_cv_var_elf=yes
CONFIGURE_ENV+= gdb_cv_struct_lwp=yes
MAKE_ENV+= gdb_cv_struct_lwp=yes
-.elif ${OPSYS} == "Linux"
-USE_TOOLS+= aclocal autoheader autoconf
-pre-configure:
- ${RUN} cd ${WRKSRC}/gdb/gdbserver && \
- aclocal && autoheader && autoconf
-
.elif ${OPSYS} == "DragonFly"
TARGET_STR= ${MACHINE_ARCH}--dragonfly
BUILD_DEFS+= ${TARGET_STR}
@@ -59,6 +60,7 @@ TEST_ENV= DEJAGNU=${WRKDIR}/../files/dragonfly-default.exp
.endif
post-install:
+ ${RM} -f ${DESTDIR}/${PREFIX}/lib/charset.alias
.if ${OPSYS} == "DragonFly"
# Following are installed by binutils
#. for f in ansidecl.h bfdlink.h dis-asm.h symcat.h
Home |
Main Index |
Thread Index |
Old Index