blob: 05b4c4a1f8331899e2e92a34f6a8a218560b8961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.27 2011/04/22 13:43:18 obache Exp $
#
DISTNAME= gdb-6.2.1
PKGREVISION= 6
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
PKG_DESTDIR_SUPPORT= user-destdir
NOT_FOR_PLATFORM= Darwin-*-* DragonFly-*-*
USE_TOOLS+= gmake makeinfo msgfmt
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
REPLACE_LOCALEDIR_PATTERNS+= Make-in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/gdb6
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/gdb6
CONFIGURE_ARGS+= --enable-libada
INFO_FILES= yes
.include "options.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"
|