pkgsrc/devel/gdb6/Makefile
joerg a5f3be8594 Add DragonFly support. Hack around gettext brokeness. Since it is
easier to patch the output of autoconf, also create gdb/configure
with the changes from configure.in directly, removing the build
dependency on autoconf.
2006-03-14 00:47:50 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2006/03/14 00:47:50 joerg Exp $
#
DISTNAME= gdb-6.2.1
PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= ftp://sources.redhat.com/pub/gdb/releases/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html
COMMENT= The GNU Project Debugger
NOT_FOR_PLATFORM= Darwin-*-*
BUILD_USES_MSGFMT= yes
USE_TOOLS+= gmake makeinfo
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/gdb6
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/gdb6
CONFIGURE_ARGS+= --enable-libada
INFO_FILES= annotate.info bfd.info configure.info
INFO_FILES+= gdb.info gdbint.info mmalloc.info
INFO_FILES+= stabs.info standards.info
.include "../../mk/bsd.prefs.mk"
pre-patch:
${CP} ${FILESDIR}/nbsd-nat.c ${WRKSRC}/gdb
do-test:
if ${PKG_INFO} -qe dejagnu; then \
(cd ${WRKSRC} && ${GMAKE} check); \
else \
${ECHO} "dejagnu is required for the test target"; \
fi
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"