pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang remove gcc48/gcc49.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25f158b7419a
branches:  trunk
changeset: 449614:25f158b7419a
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Apr 02 11:56:15 2021 +0000

description:
remove gcc48/gcc49.

use of these packages was disabled in the pkgsrc infrastructure in
january because they were causing problems on platforms with older
compilers that can build gcc6 just fine:
glibc + FORTIFY + gcc48,gcc49,gcc5 = build failures.

gcc48 and newer require a c++98 compiler, same as all gcc versions up
to 11, so are not useful for bootstrapping.

gcc5 has additional Ada bits, someone needs to determine if they're
useful before it can go.

diffstat:

 lang/Makefile                                                                           |    6 +-
 lang/gcc48/DESCR                                                                        |    3 -
 lang/gcc48/Makefile                                                                     |  191 -----
 lang/gcc48/PLIST.java                                                                   |   42 -
 lang/gcc48/buildlink3.mk                                                                |   34 -
 lang/gcc48/distinfo                                                                     |  106 --
 lang/gcc48/files/patch-gcc_targhooks.c-openbsd.diff                                     |  154 ----
 lang/gcc48/files/values.c                                                               |   64 -
 lang/gcc48/options.mk                                                                   |  217 ------
 lang/gcc48/patches/patch-boehm-gc_configure                                             |   52 -
 lang/gcc48/patches/patch-boehm-gc_dyn__load.c                                           |   53 -
 lang/gcc48/patches/patch-boehm-gc_include_gc__config.h.in                               |   14 -
 lang/gcc48/patches/patch-boehm-gc_include_gc__config__macros.h                          |   24 -
 lang/gcc48/patches/patch-boehm-gc_include_gc__pthread__redirects.h                      |   26 -
 lang/gcc48/patches/patch-boehm-gc_include_private_gcconfig.h                            |  355 ----------
 lang/gcc48/patches/patch-boehm-gc_mach__dep.c                                           |   22 -
 lang/gcc48/patches/patch-boehm-gc_misc.c                                                |   13 -
 lang/gcc48/patches/patch-boehm-gc_os__dep.c                                             |  177 ----
 lang/gcc48/patches/patch-boehm-gc_pthread__support.c                                    |   44 -
 lang/gcc48/patches/patch-boehm-gc_threadlibs.c                                          |   14 -
 lang/gcc48/patches/patch-fixincludes_fixincl.x                                          |  324 ---------
 lang/gcc48/patches/patch-fixincludes_inclhack.def                                       |   98 --
 lang/gcc48/patches/patch-gcc-config-vax-constraints.md                                  |   15 -
 lang/gcc48/patches/patch-gcc-config-vax-vax.c                                           |   24 -
 lang/gcc48/patches/patch-gcc-config-vax-vax.md                                          |   60 -
 lang/gcc48/patches/patch-gcc_Makefile.in                                                |   15 -
 lang/gcc48/patches/patch-gcc_builtins.c                                                 |   56 -
 lang/gcc48/patches/patch-gcc_c-family_c-format.c                                        |  100 --
 lang/gcc48/patches/patch-gcc_config.gcc                                                 |  167 ----
 lang/gcc48/patches/patch-gcc_config.host                                                |   18 -
 lang/gcc48/patches/patch-gcc_config_arm_arm.h                                           |   18 -
 lang/gcc48/patches/patch-gcc_config_darwin.c                                            |   16 -
 lang/gcc48/patches/patch-gcc_config_dragonfly-stdint.h                                  |   61 -
 lang/gcc48/patches/patch-gcc_config_dragonfly.h                                         |  140 ---
 lang/gcc48/patches/patch-gcc_config_dragonfly.opt                                       |   70 -
 lang/gcc48/patches/patch-gcc_config_exec-stack.h                                        |   45 -
 lang/gcc48/patches/patch-gcc_config_host-netbsd.c                                       |   93 --
 lang/gcc48/patches/patch-gcc_config_i386_dragonfly.h                                    |  106 --
 lang/gcc48/patches/patch-gcc_config_i386_i386.c                                         |   81 --
 lang/gcc48/patches/patch-gcc_config_i386_openbsd.h                                      |   27 -
 lang/gcc48/patches/patch-gcc_config_i386_openbsdelf.h                                   |   18 -
 lang/gcc48/patches/patch-gcc_config_netbsd-stdint.h                                     |   63 -
 lang/gcc48/patches/patch-gcc_config_netbsd.h                                            |   32 -
 lang/gcc48/patches/patch-gcc_config_openbsd-libpthread.h                                |   11 -
 lang/gcc48/patches/patch-gcc_config_openbsd.h                                           |   32 -
 lang/gcc48/patches/patch-gcc_config_openbsd.opt                                         |   12 -
 lang/gcc48/patches/patch-gcc_config_sol2.h                                              |   26 -
 lang/gcc48/patches/patch-gcc_config_x-netbsd                                            |   12 -
 lang/gcc48/patches/patch-gcc_configure                                                  |   49 -
 lang/gcc48/patches/patch-gcc_cp_Make-lang.in                                            |   25 -
 lang/gcc48/patches/patch-gcc_cp_cfns.gperf                                              |   37 -
 lang/gcc48/patches/patch-gcc_cp_cfns.h                                                  |   85 --
 lang/gcc48/patches/patch-gcc_cp_except.c                                                |   26 -
 lang/gcc48/patches/patch-gcc_doc_gcc.texi                                               |   18 -
 lang/gcc48/patches/patch-gcc_fortran_f95-lang.c                                         |   44 -
 lang/gcc48/patches/patch-gcc_ggc-common.c                                               |   86 --
 lang/gcc48/patches/patch-gcc_ginclude_stddef.h                                          |  111 ---
 lang/gcc48/patches/patch-gcc_go_go-lang.c                                               |   19 -
 lang/gcc48/patches/patch-gcc_java_lang.c                                                |   17 -
 lang/gcc48/patches/patch-gcc_lto_lto.c                                                  |   19 -
 lang/gcc48/patches/patch-gcc_system.h                                                   |   27 -
 lang/gcc48/patches/patch-gcc_targhooks.c                                                |   17 -
 lang/gcc48/patches/patch-gcc_testsuite_g++.dg_eh_unwind-direct.C                        |   20 -
 lang/gcc48/patches/patch-gcc_testsuite_gcc.dg_format_format.h                           |   19 -
 lang/gcc48/patches/patch-include_libiberty.h                                            |   22 -
 lang/gcc48/patches/patch-libffi_configure                                               |   33 -
 lang/gcc48/patches/patch-libffi_include_Makefile.in                                     |   13 -
 lang/gcc48/patches/patch-libgcc_Makefile.in                                             |   26 -
 lang/gcc48/patches/patch-libgcc_config.host                                             |   49 -
 lang/gcc48/patches/patch-libgcc_config_i386_dragonfly-unwind.h                          |  163 ----
 lang/gcc48/patches/patch-libgcc_config_t-slibgcc-sld                                    |   28 -
 lang/gcc48/patches/patch-libgcc_crtstuff.c                                              |   29 -
 lang/gcc48/patches/patch-libgcc_libgcc2.c                                               |   14 -
 lang/gcc48/patches/patch-libgcc_unwind-dw2-fde-dip.c                                    |   21 -
 lang/gcc48/patches/patch-libgfortran_configure                                          |   22 -
 lang/gcc48/patches/patch-libgo_Makefile.in                                              |   17 -
 lang/gcc48/patches/patch-libgo_config_libtool.m4                                        |   13 -
 lang/gcc48/patches/patch-libgo_config_ltmain.sh                                         |   13 -
 lang/gcc48/patches/patch-libgomp_configure                                              |   22 -
 lang/gcc48/patches/patch-libiberty_Makefile.in                                          |   18 -
 lang/gcc48/patches/patch-libiberty_cp-demangle.c                                        |   31 -
 lang/gcc48/patches/patch-libjava_boehm.cc                                               |   27 -
 lang/gcc48/patches/patch-libjava_configure                                              |   26 -
 lang/gcc48/patches/patch-libjava_configure.host                                         |   17 -
 lang/gcc48/patches/patch-libjava_contrib_rebuild-gcj-db.in                              |   29 -
 lang/gcc48/patches/patch-libjava_libltdl_configure                                      |   14 -
 lang/gcc48/patches/patch-libjava_prims.cc                                               |   16 -
 lang/gcc48/patches/patch-libmudflap_mf-runtime.h                                        |   16 -
 lang/gcc48/patches/patch-libsanitizer_asan_asan__malloc__mac.cc                         |   12 -
 lang/gcc48/patches/patch-libsanitizer_configure.tgt                                     |   15 -
 lang/gcc48/patches/patch-libstdc++-v3_config_locale_dragonfly_c__locale.cc              |  305 --------
 lang/gcc48/patches/patch-libstdc++-v3_config_locale_dragonfly_ctype__members.cc         |  179 -----
 lang/gcc48/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__base.h             |   65 -
 lang/gcc48/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__configure__char.cc |  104 --
 lang/gcc48/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__inline.h           |  166 ----
 lang/gcc48/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_os__defines.h             |   46 -
 lang/gcc48/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h                |   37 -
 lang/gcc48/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc    |   57 -
 lang/gcc48/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h              |   13 -
 lang/gcc48/patches/patch-libstdc++-v3_config_os_bsd_openbsd_os__defines.h               |   11 -
 lang/gcc48/patches/patch-libstdc++-v3_configure                                         |   47 -
 lang/gcc48/patches/patch-libstdc++-v3_configure.host                                    |   14 -
 lang/gcc48/patches/patch-libstdc++-v3_include_bits_basic__string.h                      |   34 -
 lang/gcc48/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h                            |   12 -
 lang/gcc48/patches/patch-ltmain.sh                                                      |   13 -
 lang/gcc48/version.mk                                                                   |    2 -
 lang/gcc49-libs/DESCR                                                                   |    7 -
 lang/gcc49-libs/Makefile                                                                |   72 --
 lang/gcc49-libs/buildlink3.mk                                                           |   54 -
 lang/gcc49/DESCR                                                                        |    3 -
 lang/gcc49/Makefile                                                                     |  216 ------
 lang/gcc49/PLIST.java                                                                   |   42 -
 lang/gcc49/buildlink3.mk                                                                |   33 -
 lang/gcc49/distinfo                                                                     |   57 -
 lang/gcc49/files/values.c                                                               |   64 -
 lang/gcc49/options.mk                                                                   |  199 -----
 lang/gcc49/patches/patch-contrib_make__sunver.pl                                        |   20 -
 lang/gcc49/patches/patch-gcc_Makefile.in                                                |   14 -
 lang/gcc49/patches/patch-gcc_config.gcc                                                 |   85 --
 lang/gcc49/patches/patch-gcc_config.host                                                |   18 -
 lang/gcc49/patches/patch-gcc_config_dragonfly-stdint.h                                  |   63 -
 lang/gcc49/patches/patch-gcc_config_dragonfly.h                                         |  142 ----
 lang/gcc49/patches/patch-gcc_config_dragonfly.opt                                       |   72 --
 lang/gcc49/patches/patch-gcc_config_host-netbsd.c                                       |   93 --
 lang/gcc49/patches/patch-gcc_config_i386_dragonfly.h                                    |  108 ---
 lang/gcc49/patches/patch-gcc_config_i386_i386.c                                         |   81 --
 lang/gcc49/patches/patch-gcc_config_netbsd-stdint.h                                     |   63 -
 lang/gcc49/patches/patch-gcc_config_netbsd.h                                            |   31 -
 lang/gcc49/patches/patch-gcc_config_x-netbsd                                            |   12 -
 lang/gcc49/patches/patch-gcc_configure                                                  |   41 -
 lang/gcc49/patches/patch-gcc_fortran_f95-lang.c                                         |   30 -
 lang/gcc49/patches/patch-gcc_ggc-common.c                                               |   86 --
 lang/gcc49/patches/patch-gcc_ginclude_stddef.h                                          |  107 ---
 lang/gcc49/patches/patch-gcc_system.h                                                   |   36 -
 lang/gcc49/patches/patch-gcc_targhooks.c                                                |   26 -
 lang/gcc49/patches/patch-include_libiberty.h                                            |   15 -
 lang/gcc49/patches/patch-libcilkrts_runtime_os-unix.c                                   |   33 -
 lang/gcc49/patches/patch-libcilkrts_runtime_signal_node.c                               |   17 -
 lang/gcc49/patches/patch-libgcc_config.host                                             |   50 -
 lang/gcc49/patches/patch-libgcc_config_i386_dragonfly-unwind.h                          |  165 ----
 lang/gcc49/patches/patch-libgcc_config_t-slibgcc-darwin                                 |   26 -
 lang/gcc49/patches/patch-libgcc_crtstuff.c                                              |   29 -
 lang/gcc49/patches/patch-libgcc_unwind-dw2-fde-dip.c                                    |   26 -
 lang/gcc49/patches/patch-libgfortran_configure                                          |   15 -
 lang/gcc49/patches/patch-libgo_Makefile.in                                              |   16 -
 lang/gcc49/patches/patch-libgo_runtime_proc.c                                           |   17 -
 lang/gcc49/patches/patch-libiberty_Makefile.in                                          |   16 -
 lang/gcc49/patches/patch-libjava_Makefile.in                                            |   16 -
 lang/gcc49/patches/patch-libjava_boehm.cc                                               |   27 -
 lang/gcc49/patches/patch-libjava_configure                                              |   17 -
 lang/gcc49/patches/patch-libjava_contrib_rebuild-gcj-db.in                              |   29 -
 lang/gcc49/patches/patch-libstdc++-v3_config_locale_dragonfly_c__locale.cc              |  307 --------
 lang/gcc49/patches/patch-libstdc++-v3_config_locale_dragonfly_ctype__members.cc         |  181 -----
 lang/gcc49/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__base.h             |   67 -
 lang/gcc49/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__configure__char.cc |  106 --
 lang/gcc49/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__inline.h           |  168 ----
 lang/gcc49/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_os__defines.h             |   48 -
 lang/gcc49/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h                |   39 -
 lang/gcc49/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc    |   59 -
 lang/gcc49/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h              |   15 -
 lang/gcc49/patches/patch-libstdc++-v3_configure                                         |   49 -
 lang/gcc49/patches/patch-libstdc++-v3_configure.host                                    |   16 -
 lang/gcc49/version.mk                                                                   |    2 -
 163 files changed, 1 insertions(+), 9226 deletions(-)

diffs (truncated from 9889 to 300 lines):

diff -r 5a9adfbec596 -r 25f158b7419a lang/Makefile
--- a/lang/Makefile     Fri Apr 02 11:48:16 2021 +0000
+++ b/lang/Makefile     Fri Apr 02 11:56:15 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.598 2021/04/01 14:05:31 taca Exp $
+# $NetBSD: Makefile,v 1.599 2021/04/02 11:56:15 nia Exp $
 #
 
 COMMENT=       Programming languages
@@ -74,10 +74,6 @@
 SUBDIR+=       gcc3-objc
 SUBDIR+=       gcc34
 SUBDIR+=       gcc44
-SUBDIR+=       gcc48
-SUBDIR+=       gcc48-libs
-SUBDIR+=       gcc49
-SUBDIR+=       gcc49-libs
 SUBDIR+=       gcc5
 SUBDIR+=       gcc5-aux
 SUBDIR+=       gcc5-libs
diff -r 5a9adfbec596 -r 25f158b7419a lang/gcc48/DESCR
--- a/lang/gcc48/DESCR  Fri Apr 02 11:48:16 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
-Fortran, Java, and Go, as well as libraries for these languages (libstdc++,
-libgcj,...).
diff -r 5a9adfbec596 -r 25f158b7419a lang/gcc48/Makefile
--- a/lang/gcc48/Makefile       Fri Apr 02 11:48:16 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,191 +0,0 @@
-# $NetBSD: Makefile,v 1.49 2020/12/04 20:45:26 nia Exp $
-
-GCC_PKGNAME=   gcc48
-.include       "version.mk"
-
-DISTNAME=      gcc-${GCC48_DIST_VERSION}
-PKGNAME=       ${GCC_PKGNAME}-${GCC48_DIST_VERSION}
-## When bumping the PKGREVISION of this package the PKGREVISION of
-## lang/gcc48-libs needs to be bumped to be at least 1 more than the
-## PKGREVISION of this package!
-PKGREVISION=   10
-CATEGORIES=    lang
-MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC48_DIST_VERSION}/}
-EXTRACT_SUFX=  .tar.bz2
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://gcc.gnu.org/
-COMMENT=       The GNU Compiler Collection (GCC) - 4.8 Release Series
-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/* # not needed
-
-USE_LANGUAGES=         c c++03
-USE_TOOLS+=            gmake makeinfo sed:run
-USE_TOOLS.NetBSD+=     gsed
-GNU_CONFIGURE=         yes
-GNU_CONFIGURE_STRICT=  no # has sub-configures
-GCC_REQD+=             4.4
-## Build outside ${WRKSRC}
-OBJDIR=                        ../build
-CONFIGURE_DIRS=                ${OBJDIR}
-CONFIGURE_SCRIPT=      ../${DISTNAME}/configure
-GCC_SUBPREFIX=         ${GCC_PKGNAME}
-GCC_PREFIX=            ${PREFIX}/${GCC_SUBPREFIX}
-GCC_TARGET_MACHINE?=   ${MACHINE_GNU_PLATFORM}
-GNU_CONFIGURE_PREFIX=  ${GCC_PREFIX}
-INFO_FILES=            yes
-
-UNLIMIT_RESOURCES+=    datasize
-UNLIMIT_RESOURCES+=    stacksize
-
-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
-
-.include "../../mk/bsd.prefs.mk"
-
-LANGS=                 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*}
-
-# The "-static-libstdc++ -static-libgcc" flags are normally added to the
-# boot-ldflags by configure but because we are supply the boot-ldflags
-# we mash supply them.
-BOOT_LDFLAGS=          -static-libstdc++ -static-libgcc ${LDFLAGS_FOR_TARGET}
-# Needed on Darwin when LDFLAGS point to a SDK
-BOOT_LDFLAGS+=         ${LDFLAGS:M-Wl,-syslibroot*}
-# GCC does not understand this option; remove it, or stage build will fail
-BUILDLINK_TRANSFORM+=  rm:-stdlib=libc++
-
-# Ignore missing rpaths in "fake" library.
-CHECK_SHLIBS_SKIP+=    ${GCC_PKGNAME}/lib*/libgcj_bc.so*
-
-## For target librarys and libjava programs.
-CONFIGURE_ENV+=                LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q}
-
-CONFIGURE_ARGS+=       --enable-languages=${LANGS:Q}
-CONFIGURE_ARGS+=       --enable-shared
-CONFIGURE_ARGS+=       --enable-long-long
-CONFIGURE_ARGS+=       --with-local-prefix=${GCC_PREFIX:Q}
-
-MAKE_ENV.NetBSD+=      ac_cv_func_gethostbyname_r=no
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
-# native SSP conflicts with gcc's libssp
-CONFIGURE_ARGS+=       --disable-libssp
-# Match base libstdc++ major
-SUBST_CLASSES+=                libstdc
-SUBST_STAGE.libstdc=   pre-configure
-SUBST_FILES.libstdc=   libstdc++-v3/configure
-SUBST_MESSAGE.libstdc= Bumping libstdc++ major to 7
-SUBST_SED.libstdc=     -e 's,libtool_VERSION=6:,libtool_VERSION=7:,g'
-.else
-CONFIGURE_ARGS+=       --enable-libssp
-.endif
-
-CONFIGURE_ARGS+=       --enable-threads=posix
-CONFIGURE_ARGS+=       --with-boot-ldflags=${BOOT_LDFLAGS:Q}
-
-CONFIGURE_ARGS.NetBSD+=        --with-gnu-ld --with-ld=/usr/bin/ld
-CONFIGURE_ARGS.NetBSD+=        --with-gnu-as --with-as=/usr/bin/as
-MAKE_ENV.NetBSD+=      ac_cv_func_clock_gettime=yes
-
-CONFIGURE_ARGS.DragonFly+=     --disable-bootstrap
-
-.if ${OPSYS} == "Darwin" && !empty(OSX_SDK_PATH)
-CONFIGURE_ARGS+=       --with-native-system-header-dir=${OSX_SDK_PATH}/usr/include
-# From FreeBSD, avoids compare issues with clang
-CONFIGURE_ARGS+=       --with-build-config=bootstrap-debug
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
-CONFIGURE_ARGS+=       --with-arch=i486 --with-tune=i486
-.endif
-
-.include "options.mk"
-
-# ${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}
-
-# Determine whether to use binutils
-.if ${OPSYS} == "SunOS"
-.  if exists(/usr/sfw/bin/gobjdump)
-CONFIGURE_ENV+=                OBJDUMP=/usr/sfw/bin/gobjdump
-.  endif
-.  if exists(/usr/bin/ld)
-CONFIGURE_ARGS+=       --without-gnu-ld --with-ld=/usr/bin/ld
-.  else
-CONFIGURE_ARGS+=       --without-gnu-ld --with-ld=/usr/ccs/bin/ld
-.  endif
-.  if exists(/usr/sfw/bin/gas)
-CONFIGURE_ARGS+=       --with-gnu-as --with-as=/usr/sfw/bin/gas
-.  elif exists(/usr/ccs/bin/as)
-CONFIGURE_ARGS+=       --without-gnu-as --with-as=/usr/ccs/bin/as
-.  else
-BUILDLINK_DEPMETHOD.binutils=  full
-.    include "../../devel/binutils/buildlink3.mk"
-CONFIGURE_ARGS+=       --with-gnu-as --with-as=${PREFIX}/bin/gas
-.  endif
-.endif
-
-# libgfortran/runtime/environ.c:119:5: error: array subscript has type 'char'
-# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177
-# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95178
-# Not worth fixing though since nobody cared between 2014 and 2020.
-BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
-
-pre-configure:
-.if ${OPSYS} == "OpenBSD"
-       cd ${WRKSRC}/gcc && \
-               patch -p1 < ${FILESDIR}/patch-gcc_targhooks.c-openbsd.diff
-.endif
-       ${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"
-
-post-install:
-       ${TEST} -f ${DESTDIR}${GCC_PREFIX}/bin/cc || \
-               ( cd ${DESTDIR}${GCC_PREFIX}/bin ; ${LN} -f gcc cc )
-.if !empty(PKG_OPTIONS:Mgcc-java)
-       ${RM} -f ${DESTDIR}${JAVA_HOME}/bin/javadoc
-       ${RM} -f ${DESTDIR}${JAVA_HOME}/jre/lib/${JAVA_ARCH}/libjawt.so
-.endif
-.if !empty(MACHINE_PLATFORM:MSunOS-*-*86*) && ${OS_VERSION} != "5.11"
-       ${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m32 || ${TRUE}
-       ${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m64 || ${TRUE}
-.endif
-
-GENERATE_PLIST+= \
-       cd ${DESTDIR}${PREFIX} &&                                       \
-       ${FIND} ${GCC_SUBPREFIX} \( -type f -o -type l \) -print | ${SORT} ;
-
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 5a9adfbec596 -r 25f158b7419a lang/gcc48/PLIST.java
--- a/lang/gcc48/PLIST.java     Fri Apr 02 11:48:16 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-@comment $NetBSD: PLIST.java,v 1.3 2015/01/15 11:07:01 jperkin Exp $
-bin/${JAVA_NAME}-appletviewer
-bin/${JAVA_NAME}-jar
-bin/${JAVA_NAME}-jarsigner
-bin/${JAVA_NAME}-java
-bin/${JAVA_NAME}-javah
-bin/${JAVA_NAME}-keytool
-bin/${JAVA_NAME}-native2ascii
-bin/${JAVA_NAME}-orbd
-bin/${JAVA_NAME}-rmic
-bin/${JAVA_NAME}-rmid
-bin/${JAVA_NAME}-rmiregistry
-bin/${JAVA_NAME}-serialver
-bin/${JAVA_NAME}-tnameserv
-java/${JAVA_NAME}/bin/appletviewer
-java/${JAVA_NAME}/bin/jar
-java/${JAVA_NAME}/bin/jarsigner
-java/${JAVA_NAME}/bin/java
-java/${JAVA_NAME}/bin/javah
-java/${JAVA_NAME}/bin/keytool
-java/${JAVA_NAME}/bin/native2ascii
-java/${JAVA_NAME}/bin/orbd
-java/${JAVA_NAME}/bin/rmic
-java/${JAVA_NAME}/bin/rmid
-java/${JAVA_NAME}/bin/rmiregistry
-java/${JAVA_NAME}/bin/serialver
-java/${JAVA_NAME}/bin/tnameserv
-java/${JAVA_NAME}/include/jawt.h
-java/${JAVA_NAME}/include/jni.h
-java/${JAVA_NAME}/include/linux/jawt_md.h
-java/${JAVA_NAME}/include/linux/jni_md.h
-java/${JAVA_NAME}/jre/bin/java
-java/${JAVA_NAME}/jre/bin/keytool
-java/${JAVA_NAME}/jre/bin/orbd
-java/${JAVA_NAME}/jre/bin/rmid
-java/${JAVA_NAME}/jre/bin/rmiregistry
-java/${JAVA_NAME}/jre/bin/tnameserv
-java/${JAVA_NAME}/jre/lib/${JAVA_ARCH}/client/libjvm.so
-java/${JAVA_NAME}/jre/lib/${JAVA_ARCH}/server/libjvm.so
-java/${JAVA_NAME}/jre/lib/rt.jar
-java/${JAVA_NAME}/jre/lib/security/java.security
-java/${JAVA_NAME}/lib/tools.jar
diff -r 5a9adfbec596 -r 25f158b7419a lang/gcc48/buildlink3.mk
--- a/lang/gcc48/buildlink3.mk  Fri Apr 02 11:48:16 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.8 2015/11/25 12:51:16 jperkin Exp $
-
-BUILDLINK_TREE+=       gcc48
-
-.if !defined(GCC48_BUILDLINK3_MK)
-GCC48_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.gcc48+=  gcc48>=4.8
-BUILDLINK_ABI_DEPENDS.gcc48+=  gcc48>=4.8.0
-BUILDLINK_PKGSRCDIR.gcc48=     ../../lang/gcc48
-BUILDLINK_DEPMETHOD.gcc48?=    build
-
-BUILDLINK_PASSTHRU_DIRS+=      ${BUILDLINK_PREFIX.gcc48}/gcc48
-
-BUILDLINK_FILES.gcc48=         #empty
-BUILDLINK_AUTO_VARS.gcc48=     no
-
-# Packages that link against shared libraries need a full dependency.
-.if defined(_USE_GCC_SHLIB)
-DEPENDS+=      {gcc48,gcc48-libs}>=4.8:../../lang/gcc48-libs
-ABI_DEPENDS+=  {gcc48,gcc48-libs}>=4.8.0:../../lang/gcc48-libs
-.endif
-
-pkgbase := gcc48
-.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.gcc48:Mgcc-java)
-.include "../../devel/zlib/buildlink3.mk"
-.endif



Home | Main Index | Thread Index | Old Index