| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.33 2021/09/22 02:35:40 mef Exp $ | | 1 | # $NetBSD: Makefile,v 1.34 2021/09/22 05:59:26 mef Exp $ |
2 | | | 2 | |
3 | DISTNAME= binutils-2.37 | | 3 | DISTNAME= binutils-2.37 |
4 | PKGNAME= ${DISTNAME:S/^/avr-/} | | 4 | PKGNAME= ${DISTNAME:S/^/avr-/} |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 2 |
6 | CATEGORIES= cross | | 6 | CATEGORIES= cross |
7 | MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | COMMENT= GNU binutils for Atmel AVR 8-bit RISC microcontrollers | | 11 | COMMENT= GNU binutils for Atmel AVR 8-bit RISC microcontrollers |
12 | LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 | | 12 | LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 |
13 | | | 13 | |
14 | USE_LANGUAGES= c c++ | | 14 | USE_LANGUAGES= c c++ |
15 | # No need to use makeinfo - this package doesn't install the documentation. | | 15 | # No need to use makeinfo - this package doesn't install the documentation. |
16 | USE_TOOLS+= gmake | | 16 | USE_TOOLS+= gmake |
17 | USE_LIBTOOL= yes | | 17 | USE_LIBTOOL= yes |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
| @@ -52,24 +52,24 @@ post-install: | | | @@ -52,24 +52,24 @@ post-install: |
52 | # emulators/simulvar needs library files | | 52 | # emulators/simulvar needs library files |
53 | (cd ${WRKSRC}/bfd; \ | | 53 | (cd ${WRKSRC}/bfd; \ |
54 | ${GMAKE} install-exec install-data; \ | | 54 | ${GMAKE} install-exec install-data; \ |
55 | ${LIBTOOL} --mode install ${INSTALL_DATA} libbfd.la \ | | 55 | ${LIBTOOL} --mode install ${INSTALL_DATA} libbfd.la \ |
56 | ${DESTDIR}${PREFIX}/avr/lib; \ | | 56 | ${DESTDIR}${PREFIX}/avr/lib; \ |
57 | ${INSTALL_DATA} bfd.h ${DESTDIR}${PREFIX}/avr/include; \ | | 57 | ${INSTALL_DATA} bfd.h ${DESTDIR}${PREFIX}/avr/include; \ |
58 | ) | | 58 | ) |
59 | # emulators/simulavr wants libiberty | | 59 | # emulators/simulavr wants libiberty |
60 | (cd ${WRKSRC}/libiberty ; \ | | 60 | (cd ${WRKSRC}/libiberty ; \ |
61 | ${INSTALL_DATA} libiberty.* ${DESTDIR}${PREFIX}/avr/lib/libiberty \ | | 61 | ${INSTALL_DATA} libiberty.* ${DESTDIR}${PREFIX}/avr/lib/libiberty \ |
62 | ) | | 62 | ) |
63 | # emulators/simulavr wants following header files | | 63 | # emulators/simulavr wants following header files |
64 | (cd ${WRKSRC}/include; \ | | 64 | (cd ${WRKSRC}/include; \ |
65 | for f in ansidecl.h symcat.h; do \ | | 65 | for f in ansidecl.h symcat.h diagnostics.h ; do \ |
66 | ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/avr/include; \ | | 66 | ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/avr/include; \ |
67 | done; \ | | 67 | done; \ |
68 | ) | | 68 | ) |
69 | # Plugins may collide with other binutils flavours | | 69 | # Plugins may collide with other binutils flavours |
70 | ${MV} ${DESTDIR}${PREFIX}/lib/bfd-plugins \ | | 70 | ${MV} ${DESTDIR}${PREFIX}/lib/bfd-plugins \ |
71 | ${DESTDIR}${PREFIX}/avr/lib/ | | 71 | ${DESTDIR}${PREFIX}/avr/lib/ |
72 | | | 72 | |
73 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 | | 73 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 |
74 | .include "../../devel/zlib/buildlink3.mk" | | 74 | .include "../../devel/zlib/buildlink3.mk" |
75 | .include "../../mk/bsd.pkg.mk" | | 75 | .include "../../mk/bsd.pkg.mk" |