1 # $NetBSD: Makefile,v 1.38 2011/03/05 09:14:23 obache Exp $
7 MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html
11 COMMENT= Symbolic debugger for multiple language frontends
13 NOT_FOR_PLATFORM= Darwin-*-* DragonFly-*-* NetBSD-*-x86_64
15 PKG_DESTDIR_SUPPORT= user-destdir
17 BROKEN_GETTEXT_DETECTION= yes
21 USE_TOOLS+= gmake msgfmt
22 REPLACE_LOCALEDIR_PATTERNS+= Make-in
23 INSTALL_TARGET= install install-info
26 CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
28 .include "../../mk/bsd.prefs.mk"
30 .if ${OPSYS} == "SunOS"
31 # Work around a bug in gdb's configure
32 CONFIGURE_ENV+= ac_cv_header_curses_h=yes
35 .include "../../devel/gettext-lib/buildlink3.mk"
36 .include "../../mk/bsd.pkg.mk"