head 1.24; access; symbols pkgsrc-2023Q4:1.24.0.4 pkgsrc-2023Q4-base:1.24 pkgsrc-2023Q3:1.24.0.2 pkgsrc-2023Q3-base:1.24 pkgsrc-2023Q2:1.23.0.8 pkgsrc-2023Q2-base:1.23 pkgsrc-2023Q1:1.23.0.6 pkgsrc-2023Q1-base:1.23 pkgsrc-2022Q4:1.23.0.4 pkgsrc-2022Q4-base:1.23 pkgsrc-2022Q3:1.23.0.2 pkgsrc-2022Q3-base:1.23 pkgsrc-2022Q2:1.22.0.10 pkgsrc-2022Q2-base:1.22 pkgsrc-2022Q1:1.22.0.8 pkgsrc-2022Q1-base:1.22 pkgsrc-2021Q4:1.22.0.6 pkgsrc-2021Q4-base:1.22 pkgsrc-2021Q3:1.22.0.4 pkgsrc-2021Q3-base:1.22 pkgsrc-2021Q2:1.22.0.2 pkgsrc-2021Q2-base:1.22 pkgsrc-2021Q1:1.21.0.6 pkgsrc-2021Q1-base:1.21 pkgsrc-2020Q4:1.21.0.4 pkgsrc-2020Q4-base:1.21 pkgsrc-2020Q3:1.21.0.2 pkgsrc-2020Q3-base:1.21 pkgsrc-2020Q2:1.20.0.2 pkgsrc-2020Q2-base:1.20 pkgsrc-2020Q1:1.17.0.2 pkgsrc-2020Q1-base:1.17 pkgsrc-2019Q4:1.16.0.6 pkgsrc-2019Q4-base:1.16 pkgsrc-2019Q3:1.16.0.2 pkgsrc-2019Q3-base:1.16 pkgsrc-2019Q2:1.15.0.2 pkgsrc-2019Q2-base:1.15 pkgsrc-2019Q1:1.14.0.4 pkgsrc-2019Q1-base:1.14 pkgsrc-2018Q4:1.14.0.2 pkgsrc-2018Q4-base:1.14 pkgsrc-2018Q3:1.13.0.2 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.11.0.4 pkgsrc-2018Q2-base:1.11 pkgsrc-2018Q1:1.11.0.2 pkgsrc-2018Q1-base:1.11 pkgsrc-2017Q4:1.10.0.14 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.12 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.10.0.8 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.6 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.10.0.4 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.10.0.2 pkgsrc-2016Q3-base:1.10 pkgsrc-2016Q2:1.9.0.4 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.2 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.8.0.6 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.4 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.2 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.7.0.2 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.6.0.4 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.2 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.3.0.2 pkgsrc-2014Q2-base:1.3; locks; strict; comment @# @; 1.24 date 2023.08.02.19.20.18; author nia; state Exp; branches; next 1.23; commitid WBs42aZhtfmDkfzE; 1.23 date 2022.06.28.11.31.14; author wiz; state Exp; branches; next 1.22; commitid D2UoJrTHpoHEANJD; 1.22 date 2021.05.24.19.49.26; author wiz; state Exp; branches; next 1.21; commitid qokaiStTApGMcrUC; 1.21 date 2020.08.31.18.06.52; author wiz; state Exp; branches; next 1.20; commitid 7zxRbfOkDOoxbfmC; 1.20 date 2020.06.01.06.21.22; author rillig; state Exp; branches; next 1.19; commitid g6O13t1L4jKzduaC; 1.19 date 2020.05.23.10.34.34; author rillig; state Exp; branches; next 1.18; commitid ZrMVvKrLGdZmUl9C; 1.18 date 2020.05.16.10.50.49; author rillig; state Exp; branches; next 1.17; commitid sUlwMv2F4owQds8C; 1.17 date 2020.01.18.23.30.16; author rillig; state Exp; branches; next 1.16; commitid shGUwZfkr7sleeTB; 1.16 date 2019.08.11.13.18.17; author wiz; state Exp; branches; next 1.15; commitid Ifet9Pg6Qt99ZByB; 1.15 date 2019.06.08.10.53.28; author rillig; state Exp; branches; next 1.14; commitid 2yYl7OuEoMYCfnqB; 1.14 date 2018.12.09.21.05.32; author adam; state Exp; branches; next 1.13; commitid Je6d0kS6YPv3ta3B; 1.13 date 2018.08.22.09.43.10; author wiz; state Exp; branches; next 1.12; commitid YLub8g3ofvFGb6PA; 1.12 date 2018.07.18.00.06.12; author joerg; state Exp; branches; next 1.11; commitid 9fkLzQuPlqFC7yKA; 1.11 date 2018.01.28.16.24.12; author wiz; state Exp; branches; next 1.10; commitid LOrJXggMMAXd2FoA; 1.10 date 2016.07.09.06.37.58; author wiz; state Exp; branches; next 1.9; commitid dlqnocGpOoXV2Cdz; 1.9 date 2016.02.25.11.35.33; author jperkin; state Exp; branches; next 1.8; commitid 9ImgUNOZ3sih2iWy; 1.8 date 2015.06.12.10.48.35; author wiz; state Exp; branches; next 1.7; commitid B4JmCfaVUbiY38py; 1.7 date 2015.03.23.16.02.09; author martin; state Exp; branches; next 1.6; commitid GQnqtOr7ZoOjpKey; 1.6 date 2014.07.05.09.03.49; author martin; state Exp; branches; next 1.5; commitid OC8wmCI7qsOKtaHx; 1.5 date 2014.07.02.13.20.51; author martin; state Exp; branches; next 1.4; commitid h4hIXw6sKdMOZNGx; 1.4 date 2014.07.02.12.53.35; author martin; state Exp; branches; next 1.3; commitid 0VSiWtfTXX8JQNGx; 1.3 date 2014.05.29.23.35.24; author wiz; state Exp; branches; next 1.2; commitid laryHfkCalgYtuCx; 1.2 date 2014.04.05.11.05.38; author martin; state Exp; branches; next 1.1; commitid ZTxixBSkNx405uvx; 1.1 date 2014.03.31.09.49.31; author martin; state Exp; branches; next ; commitid pvkAn3ToYLQQOPux; desc @@ 1.24 log @*: Mark packages that were originally identified as requiring C++03 due to failing to build with a C++14 default compiler with FORCE_CXX_STD instead of USE_LANGUAGES. @ text @# $NetBSD: Makefile,v 1.23 2022/06/28 11:31:14 wiz Exp $ GCC_DIST_VERSION= 4.9.2 GCC_PKGNAME= gcc-mips-${GCC_DIST_VERSION} DISTNAME= gcc-${GCC_DIST_VERSION} PKGNAME= ${GCC_PKGNAME} PKGREVISION= 8 CATEGORIES= cross lang MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC_DIST_VERSION}/} EXTRACT_SUFX= .tar.bz2 PLIST_SUBST+= GCC_DIST_VERSION=${GCC_DIST_VERSION:Q} MAINTAINER= martin@@NetBSD.org HOMEPAGE= https://gcc.gnu.org/ COMMENT= The GNU Compiler Collection (GCC) - 4.9 for mips (especially playstation2) LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 DISTFILES= ${DEFAULT_DISTFILES} EXTRACT_ONLY= ${DEFAULT_DISTFILES} NOT_FOR_PLATFORM= Interix-*-* CHECK_PORTABILITY_SKIP= contrib/* USE_LANGUAGES= c c++ USE_TOOLS+= gmake makeinfo sed:run perl GNU_CONFIGURE= yes ## Build outside ${WRKSRC} OBJDIR= ../build CONFIGURE_DIRS= ${OBJDIR} CONFIGURE_SCRIPT= ../${DISTNAME}/configure INFO_FILES= yes # Fails with C++14 default language. FORCE_CXX_STD= c++03 UNLIMIT_RESOURCES+= datasize UNLIMIT_RESOURCES+= stacksize .include "../../mk/bsd.prefs.mk" LANGS= c c++ # In some cases LINKER_RPATH_FLAG needs a trailing space. LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /} ## The Library rpath to use in end programs. LDFLAGS_FOR_TARGET= ${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*} # GCC does not understand this option; remove it, or stage build will fail BUILDLINK_TRANSFORM+= rm:-stdlib=libc++ ## For target librarys and libjava programs. CONFIGURE_ENV+= LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q} # Make sure the target binutils are both in PATH and supplied explicitly # to configure .for prg in as ar ld nm strip objcopy objdump ranlib readelf # CONFIGURE_ENV+= ${prg:tu}_FOR_TARGET=${PREFIX}/bin/${TARGET}-${prg} CONFIGURE_ARGS+= --with-${prg}=${PREFIX}/bin/${TARGET}-${prg} .endfor # There are several options that are reported as unknown. # These are just not documented, but they exist, such as enable_libatomic. GNU_CONFIGURE_STRICT= no CONFIGURE_ARGS+= --disable-nls CONFIGURE_ARGS+= --disable-libquadmath CONFIGURE_ARGS+= --disable-libquadmath-support CONFIGURE_ARGS+= --disable-libssp CONFIGURE_ARGS+= --disable-libgomp CONFIGURE_ARGS+= --disable-libstdc++-v3 CONFIGURE_ARGS+= --disable-libatomic CONFIGURE_ARGS+= --disable-libgcc CONFIGURE_ARGS+= --enable-languages=${LANGS:Q} CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --enable-long-long CONFIGURE_ARGS+= --with-local-prefix=${PREFIX} CONFIGURE_ARGS+= --enable-threads=posix CONFIGURE_ARGS+= --with-boot-ldflags=${BOOT_LDFLAGS:M*:Q} MAKE_ENV.NetBSD+= ac_cv_func_clock_gettime=yes CONFIGURE_ARGS.DragonFly+= --disable-bootstrap TARGET= mipsel--netbsd CONFIGURE_ARGS+= --target=${TARGET} # ${WRKSRC}/fixincludes/ looks for sed and compiles the path to sed into # a binary so we need to make sure we give it the installed sed and not # the tool wrapped one. MAKE_ENV+= ac_cv_path_SED=${TOOLS_SED} MAKE_ENV+= lt_cv_path_SED=${TOOLS_SED} pre-configure: ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} TEST_TARGET= -k check || ${TRUE} pre-test: ${RUN} \ if runtest --version >/dev/null 2>/dev/null ; then \ : ; \ else \ ${ECHO} "ERROR: Please install devel/dejagnu in order to run the test suite." ; \ exit 1 ; \ fi post-test: ${RUN} cd ${WRKSRC} && cd ${OBJDIR} && \ ${SHELL} ${WRKSRC}/contrib/test_summary >${WRKDIR}/test_summary.log @@${INFO_MSG} "Test summary are available in ${WRKDIR}/test_summary.log" CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp} CONFIGURE_ARGS+= --with-mpc=${BUILDLINK_PREFIX.mpcomplex} CONFIGURE_ARGS+= --with-mpfr=${BUILDLINK_PREFIX.mpfr} .include "../../devel/gmp/buildlink3.mk" .include "../../math/mpcomplex/buildlink3.mk" .include "../../math/mpfr/buildlink3.mk" .include "../../cross/binutils-mips-current/buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.23 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2021/05/24 19:49:26 wiz Exp $ d26 1 a26 1 USE_LANGUAGES= c c++03 d35 3 @ 1.22 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2020/08/31 18:06:52 wiz Exp $ d8 1 a8 1 PKGREVISION= 7 @ 1.21 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2020/06/01 06:21:22 rillig Exp $ d8 1 a8 1 PKGREVISION= 6 @ 1.20 log @cross/gcc-mips-current: disable check for unknown configure options @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2020/05/23 10:34:34 rillig Exp $ d8 1 a8 1 PKGREVISION= 5 @ 1.19 log @cross/gcc-mips-current: allow bashisms in unused files @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2020/05/16 10:50:49 rillig Exp $ d61 4 @ 1.18 log @cross/gcc-mips-current: remove no-op SUBST block @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2020/01/18 23:30:16 rillig Exp $ d24 2 @ 1.17 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2019/08/11 13:18:17 wiz Exp $ a35 6 SUBST_CLASSES+= vars SUBST_MESSAGE.vars= Setting target machine name path in ${SUBST_FILES.vars} SUBST_STAGE.vars= pre-configure SUBST_FILES.vars= gcc/Makefile.in SUBST_VARS.vars= GCC_TARGET_MACHINE @ 1.16 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2019/06/08 10:53:28 rillig Exp $ d15 1 a15 1 HOMEPAGE= http://gcc.gnu.org/ @ 1.15 log @cross/*: let pkglint autofix indentation and variable alignment pkglint -Wall -F -r cross xtensa-esp32-elf-gcc has been manually edited afterwards because when realigning variable assignments, pkglint only allows one long outlier line. This package has two long SITES.* lines, therefore pkglint wanted to indent the variable values much further to the right. This needs to be fixed in pkglint. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2018/12/09 21:05:32 adam Exp $ d8 1 a8 1 PKGREVISION= 4 @ 1.14 log @Removed commented-out PKGREVISIONs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2018/08/22 09:43:10 wiz Exp $ d3 2 a4 2 GCC_DIST_VERSION=4.9.2 GCC_PKGNAME= gcc-mips-${GCC_DIST_VERSION} d67 1 a67 1 CONFIGURE_ARGS+= --disable-libquadmath-support d76 1 a76 1 CONFIGURE_ARGS+= --with-local-prefix=${PREFIX:Q} d78 3 a80 2 CONFIGURE_ARGS+= --with-boot-ldflags=${BOOT_LDFLAGS:Q} MAKE_ENV.NetBSD+= ac_cv_func_clock_gettime=yes @ 1.13 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2018/07/18 00:06:12 joerg Exp $ a8 1 #PKGREVISION= 1 @ 1.12 log @Mark packages that require C++03 (or the GNU variants) if they fail with C++14 default language. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2018/01/28 16:24:12 wiz Exp $ d8 1 a8 1 PKGREVISION= 3 @ 1.11 log @recursive bump after mpfr shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2016/07/09 06:37:58 wiz Exp $ d25 1 a25 1 USE_LANGUAGES= c c++ @ 1.10 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2016/02/25 11:35:33 jperkin Exp $ d8 1 a8 1 PKGREVISION= 2 @ 1.9 log @Use OPSYSVARS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2015/06/12 10:48:35 wiz Exp $ d8 1 a8 1 PKGREVISION= 1 @ 1.8 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2015/03/23 16:02:09 martin Exp $ d80 2 a81 6 .if ${OPSYS} == "NetBSD" MAKE_ENV+= ac_cv_func_clock_gettime=yes .endif .if ${OPSYS} == "DragonFly" CONFIGURE_ARGS+= --disable-bootstrap .endif @ 1.7 log @Update to 4.9.2: This release is a bug-fix release, containing fixes for regressions in GCC 4.9.1 and 4.9.0 relative to previous releases of GCC. 6 changes and 8 documentation fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2014/07/05 09:03:49 martin Exp $ d8 1 @ 1.6 log @Make types (size_t and ptrdiff_t), predefines and link specs the same as the in-tree compiler. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2014/07/02 13:20:51 martin Exp $ d3 1 a3 1 GCC_DIST_VERSION=4.9.0 d8 1 a8 1 PKGREVISION= 5 d12 1 @ 1.5 log @Workaround for bugzilla ticket 61651: pass explicit --with-.. for all binutils programs to configure. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2014/07/02 12:53:35 martin Exp $ d8 1 a8 1 PKGREVISION= 4 @ 1.4 log @Update to official 4.9.0 release @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/05/29 23:35:24 wiz Exp $ d8 1 a8 1 PKGREVISION= 3 d59 1 a59 1 # .for prg in as ar ld nm strip objcopy objdump ranlib readelf d61 2 a62 1 # .endfor @ 1.3 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/04/05 11:05:38 martin Exp $ d3 2 a4 1 GCC_PKGNAME= gcc-mips-current a5 3 SNAPSHOT= 20140330 GCC_DIST_VERSION=4.9-${SNAPSHOT} d7 2 a8 2 PKGNAME= ${GCC_PKGNAME}-${SNAPSHOT} PKGREVISION= 2 d10 1 a10 7 MASTER_SITE_GCC= \ ftp://ftp.fu-berlin.de/unix/languages/gcc/ \ ftp://gd.tuwien.ac.at/gnu/gcc/ \ http://ftp.tsukuba.wide.ad.jp/software/gcc/ \ ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/ \ http://www.netgull.com/gcc/ MASTER_SITES= ${MASTER_SITE_GCC:=snapshots/${GCC_DIST_VERSION}/} d15 1 a15 1 COMMENT= The GNU Compiler Collection (GCC) - 4.9 current for mips d57 6 d70 1 d84 2 a85 1 CONFIGURE_ARGS+= --target=mipsel--netbsdelf @ 1.2 log @Configure for mipsel instead of mips to more closely match the native NetBSD cross environment. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/03/31 09:49:31 martin Exp $ d10 1 a10 1 PKGREVISION= 1 @ 1.1 log @Add a gcc-current pkg suitable for NetBSD/playstation2 kernel cross compilation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2014/01/14 19:32:52 wiz Exp $ d10 1 a10 2 # PKGREVISION= 1 d85 1 a85 1 CONFIGURE_ARGS+= --target=mips--netbsdelf @