| @@ -1,39 +1,38 @@ | | | @@ -1,39 +1,38 @@ |
1 | # $NetBSD: Makefile,v 1.9 2020/01/18 23:30:15 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2020/05/17 22:05:41 rillig Exp $ |
2 | # | | 2 | # |
3 | # GNU binutils snapshot, configured to target MIPS (NetBSD/playstation2) | | 3 | # GNU binutils snapshot, configured to target MIPS (NetBSD/playstation2) |
4 | | | 4 | |
5 | BINUTILS_VER= 2.25 | | 5 | BINUTILS_VER= 2.25 |
6 | | | 6 | |
7 | DISTNAME= binutils-${BINUTILS_VER} | | 7 | DISTNAME= binutils-${BINUTILS_VER} |
8 | PKGNAME= binutils-mips-${BINUTILS_VER} | | 8 | PKGNAME= binutils-mips-${BINUTILS_VER} |
9 | PKGREVISION= 1 | | 9 | PKGREVISION= 1 |
10 | CATEGORIES= cross lang | | 10 | CATEGORIES= cross lang |
11 | MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} | | 11 | MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} |
12 | EXTRACT_SUFX= .tar.bz2 | | 12 | EXTRACT_SUFX= .tar.bz2 |
13 | | | 13 | |
14 | MAINTAINER= martin@NetBSD.org | | 14 | MAINTAINER= martin@NetBSD.org |
15 | HOMEPAGE= https://www.gnu.org/ | | 15 | HOMEPAGE= https://www.gnu.org/ |
16 | COMMENT= binutils for NetBSD/playstation2 | | 16 | COMMENT= binutils for NetBSD/playstation2 |
17 | PLATFORM= mipsel--netbsd | | 17 | PLATFORM= mipsel--netbsd |
18 | LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3 | | 18 | LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3 |
19 | | | 19 | |
20 | BUILDLINK_TRANSFORM+= rm:-Werror | | 20 | BUILDLINK_TRANSFORM+= rm:-Werror |
21 | | | 21 | |
22 | USE_TOOLS+= gm4 pod2man yacc gmake | | 22 | USE_TOOLS+= gm4 pod2man yacc gmake |
23 | USE_LIBTOOL= yes | | 23 | USE_LIBTOOL= yes |
24 | | | 24 | |
25 | GNU_CONFIGURE= yes | | 25 | GNU_CONFIGURE= yes |
26 | CONFIGURE_ARGS+= --enable-64-bit-bfd | | | |
27 | CONFIGURE_ARGS+= --target=${PLATFORM} | | 26 | CONFIGURE_ARGS+= --target=${PLATFORM} |
28 | | | 27 | |
29 | MAKE_ARGS+= CFLAGS="${CFLAGS}" | | 28 | MAKE_ARGS+= CFLAGS="${CFLAGS}" |
30 | | | 29 | |
31 | PLIST_SUBST+= LOCALBASE=${PREFIX} | | 30 | PLIST_SUBST+= LOCALBASE=${PREFIX} |
32 | | | 31 | |
33 | BINDIR= ${PREFIX}/bin | | 32 | BINDIR= ${PREFIX}/bin |
34 | | | 33 | |
35 | # Prevent the need to run texi2pod.pl and pod2man hence | | 34 | # Prevent the need to run texi2pod.pl and pod2man hence |
36 | # the need for perl as build dependency. | | 35 | # the need for perl as build dependency. |
37 | post-patch: | | 36 | post-patch: |
38 | .for _file_ in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi gas/doc/as.1 | | 37 | .for _file_ in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi gas/doc/as.1 |
39 | if [ -f ${WRKSRC}/${_file_} ]; then \ | | 38 | if [ -f ${WRKSRC}/${_file_} ]; then \ |