From 20498df8a59c0bd35ab2f3310a94de346ed792e1 Mon Sep 17 00:00:00 2001 From: sbd Date: Sat, 17 Dec 2011 10:15:04 +0000 Subject: Add missing mk/termcap buildlink. Pass LDFLAGS to the configure process. Bump PKGREVISION --- cross/avr-gdb/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cross') diff --git a/cross/avr-gdb/Makefile b/cross/avr-gdb/Makefile index c9266562099..acf4cbf30ad 100644 --- a/cross/avr-gdb/Makefile +++ b/cross/avr-gdb/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.15 2010/02/14 20:34:58 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2011/12/17 10:15:04 sbd Exp $ DISTNAME= gdb-5.3 PKGNAME= avr-gdb-5.3 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= cross MASTER_SITES= ${MASTER_SITE_GNU:=gdb/} @@ -13,6 +13,7 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= gmake GNU_CONFIGURE= yes +CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q} CONFIGURE_ARGS+= --target=avr CONFIGURE_ARGS+= --program-prefix=avr @@ -24,4 +25,5 @@ pre-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${DESTDIR}${PREFIX}/bin/avr-gdb +.include "../../mk/termcap.buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3