diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-06-01 19:29:30 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-06-01 19:29:30 +0000 |
commit | d26caa3fef0cdf218305e1b96f3f1c0fc689f87c (patch) | |
tree | 456458ff1acffdca726b0043d333a3743f8e2594 /devel/gdb6/Makefile | |
parent | ef18c62afa7c88e000dfed6566a06ff4905ea192 (diff) | |
download | pkgsrc-d26caa3fef0cdf218305e1b96f3f1c0fc689f87c.tar.gz |
gdb6 The GNU Project Debugger revision 6.1
This is a new package.
Diffstat (limited to 'devel/gdb6/Makefile')
-rw-r--r-- | devel/gdb6/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/devel/gdb6/Makefile b/devel/gdb6/Makefile new file mode 100644 index 00000000000..11e4bbfc7d7 --- /dev/null +++ b/devel/gdb6/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/01 19:29:30 shannonjr Exp $ +# + +DISTNAME= gdb-6.1 +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 + +BUILD_USES_MSGFMT= yes + +USE_BUILDLINK3= yes +USE_GNU_TOOLS= make +USE_LIBTOOL= yes +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes + +USE_MAKEINFO= yes +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" + +BUILD_DEFS= USE_GCC_34 +USE_GCC_34?= NO + +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 + +.if !empty(USE_GCC_34:M[Yy][Ee][Ss]) +.include "../../lang/gcc-3.4/buildlink3.mk" +pre-configure: +. include "../../lang/gcc-3.4/preconfigure.mk" +.endif + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |