summaryrefslogtreecommitdiff
path: root/cross/avr-gdb
diff options
context:
space:
mode:
authorsbd <sbd>2011-12-17 10:15:04 +0000
committersbd <sbd>2011-12-17 10:15:04 +0000
commit03bdfb6ffd231176d47ebecc98e66e0ee0f2b57a (patch)
treed980273eacdae94fded3de122cea4aba7a82337b /cross/avr-gdb
parentbf67736bfb1749a56257347e5c8b0d16b7e39533 (diff)
downloadpkgsrc-03bdfb6ffd231176d47ebecc98e66e0ee0f2b57a.tar.gz
Add missing mk/termcap buildlink.
Pass LDFLAGS to the configure process. Bump PKGREVISION
Diffstat (limited to 'cross/avr-gdb')
-rw-r--r--cross/avr-gdb/Makefile6
1 files changed, 4 insertions, 2 deletions
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"