| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.25 2012/10/03 21:54:11 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.26 2012/12/24 03:59:26 dholland Exp $ |
2 | | | 2 | |
3 | DISTNAME= avr-libc-1.6.7 | | 3 | DISTNAME= avr-libc-1.6.7 |
4 | PKGREVISION= 3 | | 4 | PKGREVISION= 3 |
5 | CATEGORIES= cross | | 5 | CATEGORIES= cross |
6 | MASTER_SITES= http://savannah.nongnu.org/download/avr-libc/ | | 6 | MASTER_SITES= http://savannah.nongnu.org/download/avr-libc/ |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= wennmach@NetBSD.org | | 9 | MAINTAINER= wennmach@NetBSD.org |
10 | HOMEPAGE= http://savannah.nongnu.org/projects/avr-libc | | 10 | HOMEPAGE= http://savannah.nongnu.org/projects/avr-libc |
11 | COMMENT= C and math library for Atmel AVR 8-bit microcontrollers | | 11 | COMMENT= C and math library for Atmel AVR 8-bit microcontrollers |
12 | LICENSE= modified-bsd | | 12 | LICENSE= modified-bsd |
13 | | | 13 | |
14 | BUILD_DEPENDS+= avr-binutils-[0-9]*:../../cross/avr-binutils | | 14 | BUILD_DEPENDS+= avr-binutils-[0-9]*:../../cross/avr-binutils |
| @@ -18,26 +18,27 @@ BUILD_DEPENDS+= transfig-[0-9]*:../../p | | | @@ -18,26 +18,27 @@ BUILD_DEPENDS+= transfig-[0-9]*:../../p |
18 | BUILD_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm | | 18 | BUILD_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm |
19 | | | 19 | |
20 | USE_TOOLS+= aclocal autoconf autoheader automake gmake | | 20 | USE_TOOLS+= aclocal autoconf autoheader automake gmake |
21 | USE_TOOLS+= perl | | 21 | USE_TOOLS+= perl |
22 | GNU_CONFIGURE= yes | | 22 | GNU_CONFIGURE= yes |
23 | USE_GNU_CONFIGURE_HOST= no | | 23 | USE_GNU_CONFIGURE_HOST= no |
24 | CONFIGURE_ENV+= AS=${PREFIX}/bin/avr-as | | 24 | CONFIGURE_ENV+= AS=${PREFIX}/bin/avr-as |
25 | CONFIGURE_ENV+= AR=${PREFIX}/bin/avr-ar | | 25 | CONFIGURE_ENV+= AR=${PREFIX}/bin/avr-ar |
26 | CONFIGURE_ENV+= RANLIB=${PREFIX}/bin/avr-ranlib | | 26 | CONFIGURE_ENV+= RANLIB=${PREFIX}/bin/avr-ranlib |
27 | CONFIGURE_ENV+= CC=${PREFIX}/bin/avr-gcc | | 27 | CONFIGURE_ENV+= CC=${PREFIX}/bin/avr-gcc |
28 | CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM:Q} --host=avr | | 28 | CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM:Q} --host=avr |
29 | CONFIGURE_ARGS+= --enable-doc | | 29 | CONFIGURE_ARGS+= --enable-doc |
30 | CONFIGURE_ARGS+= --disable-versioned-doc | | 30 | CONFIGURE_ARGS+= --disable-versioned-doc |
| | | 31 | MAKE_JOBS_SAFE= no |
31 | | | 32 | |
32 | pre-configure: | | 33 | pre-configure: |
33 | set -e; cd ${WRKSRC}; \ | | 34 | set -e; cd ${WRKSRC}; \ |
34 | aclocal; autoheader; automake -a --foreign -i; autoconf | | 35 | aclocal; autoheader; automake -a --foreign -i; autoconf |
35 | | | 36 | |
36 | post-build: | | 37 | post-build: |
37 | cd ${WRKSRC}/doc/examples/demo && ${GMAKE} | | 38 | cd ${WRKSRC}/doc/examples/demo && ${GMAKE} |
38 | cd ${WRKSRC}/doc/examples/demo && ${GMAKE} dox | | 39 | cd ${WRKSRC}/doc/examples/demo && ${GMAKE} dox |
39 | | | 40 | |
40 | post-install: | | 41 | post-install: |
41 | ${INSTALL_DATA} \ | | 42 | ${INSTALL_DATA} \ |
42 | ${WRKSRC}/LICENSE \ | | 43 | ${WRKSRC}/LICENSE \ |
43 | ${WRKSRC}/AUTHORS \ | | 44 | ${WRKSRC}/AUTHORS \ |