update Sun Jun 20 12:37:00 PDT 2010
[pkgsrc.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 CATEGORIES=             cross
6 MASTER_SITES=           ${MASTER_SITE_GNU:=binutils/}
7
8 MAINTAINER=             pkgsrc-users@NetBSD.org
9 COMMENT=                GNU binutils for Atmel AVR 8-bit RISC microcontrollers
10
11 PKG_DESTDIR_SUPPORT=    user-destdir
12
13 USE_BZIP2=              yes
14 USE_TOOLS+=             gmake makeinfo
15 GNU_CONFIGURE=          yes
16 USE_PKGLOCALEDIR=       yes
17 USE_GNU_CONFIGURE_HOST= no
18
19 CONFIGURE_ARGS+=        --disable-werror --target=avr
20
21 # Prevent the need to run texi2pod.pl and pod2man hence
22 # the need for perl as build dependency.
23 post-configure:
24         cd ${WRKSRC};                                           \
25         for f in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi      \
26           gas/doc/as.1; do                                      \
27                 ${TOUCH} $${f};                                 \
28         done
29
30 .include "../../mk/bsd.pkg.mk"