Wed Jan 3 22:43:23 2018 UTC ()
Removed license again.

The newly introduced guess-license make(1) target is too naive.
In this case, it just looked at the file COPYING, but the actual
rules for this package are much more complicated. Each file has
its own license, and the various COPYING files are only references
to which the files point.


(rillig)
diff -r1.10 -r1.11 pkgsrc/cross/arm-none-eabi-gcc/Makefile

cvs diff -r1.10 -r1.11 pkgsrc/cross/arm-none-eabi-gcc/Makefile (switch to unified diff)

--- pkgsrc/cross/arm-none-eabi-gcc/Makefile 2018/01/03 00:42:46 1.10
+++ pkgsrc/cross/arm-none-eabi-gcc/Makefile 2018/01/03 22:43:23 1.11
@@ -1,80 +1,79 @@ @@ -1,80 +1,79 @@
1# $NetBSD: Makefile,v 1.10 2018/01/03 00:42:46 rillig Exp $ 1# $NetBSD: Makefile,v 1.11 2018/01/03 22:43:23 rillig Exp $
2 2
3DISTNAME= gcc-7.2.0 3DISTNAME= gcc-7.2.0
4PKGNAME= cross-arm-none-eabi-${DISTNAME} 4PKGNAME= cross-arm-none-eabi-${DISTNAME}
5CATEGORIES= cross 5CATEGORIES= cross
6NEWLIBVER= 2.5.0 6NEWLIBVER= 2.5.0
7MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} 7MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/}
8DISTFILES= ${DEFAULT_DISTFILES} \ 8DISTFILES= ${DEFAULT_DISTFILES} \
9 newlib-${NEWLIBVER}.tar.gz 9 newlib-${NEWLIBVER}.tar.gz
10SITES.newlib-${NEWLIBVER}.tar.gz= ftp://sources.redhat.com/pub/newlib/ 10SITES.newlib-${NEWLIBVER}.tar.gz= ftp://sources.redhat.com/pub/newlib/
11 11
12 12
13MAINTAINER= ryoon@NetBSD.org 13MAINTAINER= ryoon@NetBSD.org
14HOMEPAGE= # none 14HOMEPAGE= # none
15COMMENT= GCC for bare metal ARM EABI 15COMMENT= GCC for bare metal ARM EABI
16LICENSE= gnu-gpl-v2 
17 16
18EXTRACT_USING= bsdtar 17EXTRACT_USING= bsdtar
19 18
20 19
21# for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549 20# for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549
22# use makeinfo from pkgsrc/devel/gtexinfo. 21# use makeinfo from pkgsrc/devel/gtexinfo.
23TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo 22TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo
24_TOOLS_USE_PKGSRC.makeinfo= yes 23_TOOLS_USE_PKGSRC.makeinfo= yes
25 24
26DEPENDS+= cross-arm-none-eabi-binutils-[0-9]*:../../cross/arm-none-eabi-binutils 25DEPENDS+= cross-arm-none-eabi-binutils-[0-9]*:../../cross/arm-none-eabi-binutils
27 26
28USE_LANGUAGES+= c c++ 27USE_LANGUAGES+= c c++
29 28
30ARMELF_PREFIX= ${PREFIX}/cross-arm-none-eabi 29ARMELF_PREFIX= ${PREFIX}/cross-arm-none-eabi
31OBJDIR= ../build 30OBJDIR= ../build
32CONFIGURE_DIRS= ${OBJDIR} 31CONFIGURE_DIRS= ${OBJDIR}
33CONFIGURE_SCRIPT= ../${DISTNAME}/configure 32CONFIGURE_SCRIPT= ../${DISTNAME}/configure
34 33
35CONFIG_SHELL= ${TOOLS_PATH.bash} 34CONFIG_SHELL= ${TOOLS_PATH.bash}
36WRAPPER_SHELL= ${TOOLS_PATH.bash} 35WRAPPER_SHELL= ${TOOLS_PATH.bash}
37USE_TOOLS+= bash perl 36USE_TOOLS+= bash perl
38 37
39USE_TOOLS+= gmake makeinfo 38USE_TOOLS+= gmake makeinfo
40GNU_CONFIGURE= yes 39GNU_CONFIGURE= yes
41 40
42GNU_CONFIGURE_PREFIX= ${ARMELF_PREFIX} 41GNU_CONFIGURE_PREFIX= ${ARMELF_PREFIX}
43 42
44HOSTDIR= build-${MACHINE_ARCH}--${LOWER_OPSYS} 43HOSTDIR= build-${MACHINE_ARCH}--${LOWER_OPSYS}
45 44
46CONFIGURE_ARGS+= --target=arm-none-eabi 45CONFIGURE_ARGS+= --target=arm-none-eabi
47CONFIGURE_ARGS+= --enable-languages=c,c++ 46CONFIGURE_ARGS+= --enable-languages=c,c++
48CONFIGURE_ARGS+= --with-newlib 47CONFIGURE_ARGS+= --with-newlib
49CONFIGURE_ARGS+= --disable-nls 48CONFIGURE_ARGS+= --disable-nls
50CONFIGURE_ARGS+= --disable-libstdcxx-pch 49CONFIGURE_ARGS+= --disable-libstdcxx-pch
51 50
52INFO_FILES= yes 51INFO_FILES= yes
53 52
54CONFIGURE_ARGS+= --enable-${PLUGIN_NAME}-plugin 53CONFIGURE_ARGS+= --enable-${PLUGIN_NAME}-plugin
55 54
56PLIST_VARS+= libcpp 55PLIST_VARS+= libcpp
57 56
58.include "../../mk/compiler.mk" 57.include "../../mk/compiler.mk"
59.if !empty(PKGSRC_COMPILER:Mclang) 58.if !empty(PKGSRC_COMPILER:Mclang)
60# geattrtab on neon.md results in a very deeply nested expression 59# geattrtab on neon.md results in a very deeply nested expression
61# with > 255 brackets. This was reported against GCC 4.9.1 at least 60# with > 255 brackets. This was reported against GCC 4.9.1 at least
62# already, but it seems noone cares enough in GCC to fix the generator. 61# already, but it seems noone cares enough in GCC to fix the generator.
63CFLAGS+= -fbracket-depth=1024 62CFLAGS+= -fbracket-depth=1024
64.endif 63.endif
65 64
66.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" 65.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
67PLIST.libcpp= yes 66PLIST.libcpp= yes
68.endif 67.endif
69 68
70post-extract: 69post-extract:
71 ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib 70 ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib
72 ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss 71 ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss
73 72
74pre-configure: 73pre-configure:
75 ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} 74 ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
76 75
77.include "../../devel/gmp/buildlink3.mk" 76.include "../../devel/gmp/buildlink3.mk"
78.include "../../math/mpfr/buildlink3.mk" 77.include "../../math/mpfr/buildlink3.mk"
79.include "../../math/mpcomplex/buildlink3.mk" 78.include "../../math/mpcomplex/buildlink3.mk"
80.include "../../mk/bsd.pkg.mk" 79.include "../../mk/bsd.pkg.mk"