Merge from vendor branch TNF:
[pkgsrcv2.git] / cross / avr-binutils / Makefile
1 # $NetBSD: Makefile,v 1.16 2010/06/20 16:23:56 tron Exp $
2
3 DISTNAME=               binutils-2.19.1
4 PKGNAME=                avr-binutils-2.19.1
5 PKGREVISION=            1
6 CATEGORIES=             cross
7 MASTER_SITES=           ${MASTER_SITE_GNU:=binutils/}
8
9 MAINTAINER=             pkgsrc-users@NetBSD.org
10 COMMENT=                GNU binutils for Atmel AVR 8-bit RISC microcontrollers
11
12 PKG_DESTDIR_SUPPORT=    user-destdir
13
14 USE_BZIP2=              yes
15 USE_TOOLS+=             gmake makeinfo
16 GNU_CONFIGURE=          yes
17 USE_PKGLOCALEDIR=       yes
18 USE_GNU_CONFIGURE_HOST= no
19
20 CONFIGURE_ARGS+=        --disable-werror --target=avr
21
22 # Prevent the need to run texi2pod.pl and pod2man hence
23 # the need for perl as build dependency.
24 post-configure:
25         cd ${WRKSRC};                                           \
26         for f in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi      \
27           gas/doc/as.1; do                                      \
28                 ${TOUCH} $${f};                                 \
29         done
30
31 .include "../../devel/zlib/buildlink3.mk"
32 .include "../../mk/bsd.pkg.mk"