Wed Mar 18 19:49:34 2020 UTC ()
lang/gcc6: exclude some contrib files from portability check


(rillig)
diff -r1.22 -r1.23 pkgsrc/lang/gcc6/Makefile

cvs diff -r1.22 -r1.23 pkgsrc/lang/gcc6/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/gcc6/Makefile 2020/01/18 23:32:43 1.22
+++ pkgsrc/lang/gcc6/Makefile 2020/03/18 19:49:34 1.23
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.22 2020/01/18 23:32:43 rillig Exp $ 1# $NetBSD: Makefile,v 1.23 2020/03/18 19:49:34 rillig Exp $
2 2
3GCC_PKGNAME= gcc6 3GCC_PKGNAME= gcc6
4.include "version.mk" 4.include "version.mk"
5 5
6DISTNAME= gcc-${GCC6_DIST_VERSION} 6DISTNAME= gcc-${GCC6_DIST_VERSION}
7PKGNAME= ${GCC_PKGNAME}-${GCC6_DIST_VERSION} 7PKGNAME= ${GCC_PKGNAME}-${GCC6_DIST_VERSION}
8## When bumping the PKGREVISION of this package the PKGREVISION of 8## When bumping the PKGREVISION of this package the PKGREVISION of
9## lang/gcc6-libs needs to be bump to be at least 1 more than the 9## lang/gcc6-libs needs to be bump to be at least 1 more than the
10## PKGREVISION of this package! 10## PKGREVISION of this package!
11PKGREVISION= 3 11PKGREVISION= 3
12CATEGORIES= lang 12CATEGORIES= lang
13MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC6_DIST_VERSION}/} 13MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC6_DIST_VERSION}/}
14EXTRACT_SUFX= .tar.xz 14EXTRACT_SUFX= .tar.xz
@@ -38,26 +38,31 @@ GNU_CONFIGURE_PREFIX= ${GCC_PREFIX} @@ -38,26 +38,31 @@ GNU_CONFIGURE_PREFIX= ${GCC_PREFIX}
38INFO_FILES= yes 38INFO_FILES= yes
39CONFIGURE_ARGS+= --disable-libstdcxx-pch 39CONFIGURE_ARGS+= --disable-libstdcxx-pch
40GCC_TARGET_MACHINE= ${MACHINE_GNU_PLATFORM} 40GCC_TARGET_MACHINE= ${MACHINE_GNU_PLATFORM}
41 41
42UNLIMIT_RESOURCES+= datasize 42UNLIMIT_RESOURCES+= datasize
43UNLIMIT_RESOURCES+= stacksize 43UNLIMIT_RESOURCES+= stacksize
44 44
45SUBST_CLASSES+= vars 45SUBST_CLASSES+= vars
46SUBST_MESSAGE.vars= Setting target machine name path in ${SUBST_FILES.vars} 46SUBST_MESSAGE.vars= Setting target machine name path in ${SUBST_FILES.vars}
47SUBST_STAGE.vars= pre-configure 47SUBST_STAGE.vars= pre-configure
48SUBST_FILES.vars= gcc/Makefile.in 48SUBST_FILES.vars= gcc/Makefile.in
49SUBST_VARS.vars= GCC_TARGET_MACHINE 49SUBST_VARS.vars= GCC_TARGET_MACHINE
50 50
 51# These programs use [[ ... ]] and are not needed for the build.
 52CHECK_PORTABILITY_CHECK+= \
 53 contrib/prepare_patch.sh \
 54 contrib/patch_tester.sh
 55
51.include "../../mk/bsd.prefs.mk" 56.include "../../mk/bsd.prefs.mk"
52 57
53LANGS= c 58LANGS= c
54 59
55# In some cases LINKER_RPATH_FLAG needs a trailing space. 60# In some cases LINKER_RPATH_FLAG needs a trailing space.
56LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /} 61LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /}
57 62
58## The Library rpath to use in end programs. 63## The Library rpath to use in end programs.
59LDFLAGS_FOR_TARGET= ${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*} 64LDFLAGS_FOR_TARGET= ${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*}
60 65
61# The "-static-libstdc++ -static-libgcc" flags are normally added to the 66# The "-static-libstdc++ -static-libgcc" flags are normally added to the
62# boot-ldflags by configure but because we are supply the boot-ldflags 67# boot-ldflags by configure but because we are supply the boot-ldflags
63# we mash supply them. 68# we mash supply them.