blob: 5826521c9125231439f374e15893eaf3d543ab38 (
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
42
43
44
45
46
47
48
49
50
51
52
|
# $NetBSD: Makefile,v 1.3 2004/06/03 20:02:02 shannonjr Exp $
#
DISTNAME= gdb-6.1
PKGREVISION= 2
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
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/gdb6
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/gdb6
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"
|