pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gdb-git: Add gcore option and cleanups
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Sep 5 16:14:28 2017 +0200
Changeset: 9eb42ab2c8c52fca108b34db946f910beee9556d
Modified Files:
gdb-git/Makefile
gdb-git/PLIST.common
Log Message:
gdb-git: Add gcore option and cleanups
It still does not work for NetBSD.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9eb42ab2c8c52fca108b34db946f910beee9556d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gdb-git/Makefile | 9 ++++-----
gdb-git/PLIST.common | 1 +
2 files changed, 5 insertions(+), 5 deletions(-)
diffs:
diff --git a/gdb-git/Makefile b/gdb-git/Makefile
index 40f98bb405..f621c65e9b 100644
--- a/gdb-git/Makefile
+++ b/gdb-git/Makefile
@@ -45,6 +45,8 @@ AUTO_MKDIRS= yes
.include "../../mk/bsd.prefs.mk"
+PLIST_VARS+= gcore
+
.if ${OPSYS} == "SunOS"
# Work around a bug in gdb's configure
CONFIGURE_ENV+= ac_cv_header_curses_h=yes
@@ -55,7 +57,6 @@ 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
-
.elif ${OPSYS} == "DragonFly"
TARGET_STR= ${MACHINE_ARCH}--dragonfly
BUILD_DEFS+= ${TARGET_STR}
@@ -63,15 +64,13 @@ BUILD_DEFS+= ${TARGET_STR}
## *** Gdb does not support native target i386-pc-dragonfly"
CONFIGURE_ARGS+= --target=${TARGET_STR}
TEST_ENV= DEJAGNU=${WRKDIR}/../files/dragonfly-default.exp
+.elif !empty(OPSYS:MLinux)
+PLIST.gcore= YES
.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
-# (cd ${WRKSRC}/include; ${INSTALL_DATA} ${f} ${DESTDIR}${PREFIX}/include)
-#. endfor
(cd ${DESTDIR}${PREFIX}/bin; ${LN} ${TARGET_STR}-gdb gdb)
(cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; ${LN} ${TARGET_STR}-gdb.1 gdb.1)
.endif
diff --git a/gdb-git/PLIST.common b/gdb-git/PLIST.common
index a548f9fa09..059af8cd07 100644
--- a/gdb-git/PLIST.common
+++ b/gdb-git/PLIST.common
@@ -1,5 +1,6 @@
@comment $NetBSD: PLIST.common,v 1.6 2015/03/15 14:22:19 bsiegert Exp $
bin/gdb
+${PLIST.gcore}bin/gcore
include/gdb/jit-reader.h
include/plugin-api.h
info/annotate.info
Home |
Main Index |
Thread Index |
Old Index