summaryrefslogtreecommitdiff
path: root/devel/gdbada/Makefile
blob: 707469b657dafedc3146c913e19c110c30ef0053 (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
# $NetBSD: Makefile,v 1.15 2006/10/04 21:35:58 wiz Exp $

DISTNAME=	gdbada-6.3
PKGREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://www.johnrshannon.com/download/
EXTRACT_SUFX=	.tgz

MAINTAINER=	john@johnrshannon.com
HOMEPAGE=	https://libre2.adacore.com/GDB/
COMMENT=	GNAT GDB : An Ada 95 Debugger

# Not yet ported to AMD 64-bit machines or Darwin
NOT_FOR_PLATFORM=	*-*-x86_64 Darwin-*-*

WRKSRC=			${WRKDIR}/gdb-6.3

USE_TOOLS+=		gmake makeinfo
USE_LIBTOOL=		yes

GNU_CONFIGURE=		YES
GNU_CONFIGURE_PREFIX=	${PREFIX}/gdbada
# We don't seem to be able to control where locale data goes, so:
CONFIGURE_ARGS+=	--disable-nls
MAKE_FLAGS+=		LDFLAGS=${LDFLAGS:M*:Q}

INFO_FILES=		yes
TEST_TARGET=	check

pre-patch:
	${CP} ${FILESDIR}/nbsd-nat.c ${WRKSRC}/gdb

.include "../../mk/bsd.prefs.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"