pkgsrc-wip/avr-gdb/Makefile
Makoto Fujiwara 34b9da0311 Bump version 7.6 to 7.6.1
-------
GDB 7.6.1 provides the following fixes and improvements to GDB 7.6:

  * PR tdep/15420 (Cannot debug threaded programs on newer versions
    of x86-solaris - Solaris 10, Update 10 or later)
  * PR remote/15455 (QTro remote packet broken)
  * PR build/15476 (Build failure due to incomplete enum type in utils.h)
  * PR server/15594 (tls support in 64x32 x86 gdbserver doesn't extend
    address to 64 bit)
  * PR server/15075 (dprintf inteferes with "next")
  * PR server/15434 (dprintf uses a synchronous 'continue' even in
    non-stop mode)
  * PR tui/14880 (in split register layouts, up results in assertion
    failure in value.c)
  * PR c++/15519 (GDB 7.6 is 94x slower than GDB 7.5.1 using a certain
    core file)
  * PR gdb/15837 (GDB prints entry values for local variables)
  * PR gdb/15415 (gdb resolves symbolic links when passing argv[0])
  * PR cli/15603 (CTRL-C can no longer interrupt inferior)
  * PR gdb/15604 (gdbserver socket leak 7.5 regression)
 -------
2014-08-29 07:17:45 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2014/08/29 07:17:45 makoto Exp $
DISTNAME= gdb-7.8
PKGNAME= ${DISTNAME:S/^/avr-/}
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= GNU gdb for Atmel AVR 8-bit RISC microcontrollers
LICENSE= gnu-gpl-v3
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
CONFIGURE_ARGS+= --target=avr
CONFIGURE_ARGS+= --program-prefix=avr
CONFIGURE_ARGS+= --with-curses
# elfread.c is to be included in init.c to support bfd_target_elf_flavour
CONFIGURE_ENV+= gdb_cv_var_elf=yes
MAKE_ENV+= gdb_cv_var_elf=yes
# Native gdb has following lines also activated
#CONFIGURE_ENV+= gdb_cv_struct_lwp=yes
#MAKE_ENV+= gdb_cv_struct_lwp=yes
INSTALLATION_DIRS= bin
TEST_TARGET= check
pre-configure:
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${DESTDIR}${PREFIX}/bin/avr-gdb
# to link -lcurses.7 => /usr/lib/libcurses.so.7
# instead of terminfo
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"