head	1.9;
access;
symbols
	pkgsrc-2026Q3:1.9.0.12
	pkgsrc-2026Q3-base:1.9
	pkgsrc-2026Q2:1.9.0.10
	pkgsrc-2026Q2-base:1.9
	pkgsrc-2026Q1:1.9.0.8
	pkgsrc-2026Q1-base:1.9
	pkgsrc-2025Q4:1.9.0.6
	pkgsrc-2025Q4-base:1.9
	pkgsrc-2025Q3:1.9.0.4
	pkgsrc-2025Q3-base:1.9
	pkgsrc-2025Q2:1.9.0.2
	pkgsrc-2025Q2-base:1.9
	pkgsrc-2025Q1:1.8.0.2
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.7.0.12
	pkgsrc-2024Q4-base:1.7
	pkgsrc-2024Q3:1.7.0.10
	pkgsrc-2024Q3-base:1.7
	pkgsrc-2024Q2:1.7.0.8
	pkgsrc-2024Q2-base:1.7
	pkgsrc-2024Q1:1.7.0.6
	pkgsrc-2024Q1-base:1.7
	pkgsrc-2023Q4:1.7.0.4
	pkgsrc-2023Q4-base:1.7
	pkgsrc-2023Q3:1.7.0.2
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.6.0.2
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.5.0.6
	pkgsrc-2023Q1-base:1.5
	pkgsrc-2022Q4:1.5.0.4
	pkgsrc-2022Q4-base:1.5
	pkgsrc-2022Q3:1.5.0.2
	pkgsrc-2022Q3-base:1.5
	pkgsrc-2022Q2:1.3.0.2
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.2.0.2
	pkgsrc-2022Q1-base:1.2;
locks; strict;
comment	@# @;


1.9
date	2025.04.21.20.26.50;	author wiz;	state Exp;
branches;
next	1.8;
commitid	nC5vOr7AZmngwXRF;

1.8
date	2025.01.07.19.54.31;	author riastradh;	state Exp;
branches;
next	1.7;
commitid	PxawvFwNbEvsGAEF;

1.7
date	2023.08.15.13.49.17;	author tnn;	state Exp;
branches
	1.7.12.1;
next	1.6;
commitid	HTlLxnqtAHmU4TAE;

1.6
date	2023.06.06.12.41.42;	author riastradh;	state Exp;
branches;
next	1.5;
commitid	xhspr6Z8JLQOWSrE;

1.5
date	2022.09.22.11.35.27;	author wiz;	state Exp;
branches;
next	1.4;
commitid	MxGJ1lqUeN9eRQUD;

1.4
date	2022.06.28.11.34.10;	author wiz;	state Exp;
branches;
next	1.3;
commitid	D2UoJrTHpoHEANJD;

1.3
date	2022.05.19.15.57.23;	author ryoon;	state Exp;
branches;
next	1.2;
commitid	upGJHU9ftakemGED;

1.2
date	2022.03.27.15.06.11;	author tnn;	state Exp;
branches;
next	1.1;
commitid	RjIjQ5sg9pG0MRxD;

1.1
date	2022.03.13.08.34.04;	author nia;	state Exp;
branches;
next	;
commitid	WEuvMtvguY1C32wD;

1.7.12.1
date	2025.01.10.17.08.34;	author maya;	state Exp;
branches;
next	;
commitid	gh1YwmcfvXkyFXEF;


desc
@@


1.9
log
@*: remove Interix support
@
text
@# $NetBSD: Makefile,v 1.8 2025/01/07 19:54:31 riastradh Exp $

GCC_PKGNAME=		gcc10-aux
PKGREVISION=		2
.include		"version.mk"

DISTNAME=	gcc-${GCC10_DIST_VERSION}
PKGNAME=	${GCC_PKGNAME}-${GCC10_DIST_VERSION}
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_GNU:=gcc/gcc-${GCC10_DIST_VERSION}/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	irvise@@irvise.xyz
HOMEPAGE=	https://gcc.gnu.org/
COMMENT=	The GNU Compiler Collection (GCC) with Ada support v10
LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3

DISTFILES=		${DEFAULT_DISTFILES}
EXTRACT_ONLY=		${DEFAULT_DISTFILES}

# Add gcc6-aux as an explicit dependency. It is needed to bootstrap.
TOOL_DEPENDS+=		gcc6-aux-[0-9]*:../../lang/gcc6-aux

# Relocations result in a linker error on AArch64, but not x86.
MKPIE_SUPPORTED=	no

# gcc6-aux does not support -fstack-clash-protection
PKGSRC_USE_STACK_CHECK=	no

CHECK_RELRO_SKIP+=	${GCC_PKGNAME}/lib/*

USE_TOOLS+=		gmake makeinfo sed:run tar:build
USE_TOOLS.NetBSD+=	gsed

GNU_CONFIGURE=		yes
GNU_CONFIGURE_STRICT=	no
## Build outside ${WRKSRC}
OBJDIR=			../build
CONFIGURE_DIRS=		${OBJDIR}
CONFIGURE_SCRIPT=	../${DISTNAME}/configure
GCC_SUBPREFIX=		${GCC_PKGNAME}
GCC_PREFIX=		${PREFIX}/${GCC_SUBPREFIX}
GNU_CONFIGURE_PREFIX=	${GCC_PREFIX}
INFO_FILES=		yes
CONFIGURE_ARGS+=	--disable-libstdcxx-pch

UNLIMIT_RESOURCES+=	datasize
UNLIMIT_RESOURCES+=	stacksize

CHECK_PORTABILITY_SKIP+=	contrib/*

.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*} ${LDFLAGS:M-Wl,-z*}

# 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++

# Disable fixincludes on SmartOS, header changes result in broken includes
# being generated, see https://github.com/joyent/pkgsrc-legacy/issues/270
.if ${OS_VARIANT} == "SmartOS"
SUBST_CLASSES+=		fixinc
SUBST_STAGE.fixinc=	pre-configure
SUBST_FILES.fixinc=	gcc/Makefile.in
SUBST_SED.fixinc=	-e "s,\./fixinc.sh,-c true,"
.endif

.include "options.mk"

## Make gcc6-aux the compiler for the package since we need ada support.
# This will allow the configure script to use the gnat* packages and gcc
# with ada support
PATH=	/sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/gcc6-aux/bin:${PREFIX}/sbin:${PREFIX}/bin
CC=	${PREFIX}/gcc6-aux/bin/gcc
CXX=	${PREFIX}/gcc6-aux/bin/g++

## For graphite support.
.if !empty(PKG_OPTIONS:Mgcc-graphite)

EXTRACT_ONLY+=	${ISL16}.tar.bz2

post-extract:
	${MV} ${WRKDIR}/${ISL16} ${WRKSRC}/isl
.endif

.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
# on NetBSD, use the native SSP code in libc
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

## 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}
CONFIGURE_ARGS+=	--enable-threads=posix
CONFIGURE_ARGS+=	--with-boot-ldflags=${BOOT_LDFLAGS:Q}
CONFIGURE_ARGS+=	--without-zstd
# multilib on Darwin requires fat-binaries
CONFIGURE_ARGS.Darwin+=	--disable-multilib
.if !empty(OSX_SDK_PATH)
CONFIGURE_ARGS.Darwin+=	--with-sysroot=${OSX_SDK_PATH}
.endif
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
MAKE_ENV.NetBSD+=	ac_cv_func_gethostbyname_r=no
MAKE_ENV.NetBSD+=	ac_cv_func_freelocale=no
MAKE_ENV.NetBSD+=	ac_cv_func_newlocale=no
MAKE_ENV.NetBSD+=	ac_cv_func_uselocale=no
MAKE_ENV.SunOS+=	ac_cv_func_mkostemp=no

.if !empty(PKGSRC_COMPILER:Mclang) || ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+=	--disable-bootstrap
.endif

.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
CONFIGURE_ARGS+=	--with-arch=i486 --with-tune=i486
.endif

.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
CONFIGURE_ARGS+=	--with-arch=nocona --with-tune=nocona --with-fpmath=sse
.endif

.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
CONFIGURE_ARGS+=	--with-dwarf2
.endif

# ${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

.if ${OS_VARIANT} == "SmartOS"
SUBST_CLASSES+=		ccs
SUBST_STAGE.ccs=	pre-configure
SUBST_FILES.ccs=	contrib/make_sunver.pl
SUBST_SED.ccs=		-e 's,/usr/ccs/bin,/usr/bin,g'
.endif

# DO NOT REMOVE THIS SUBST.  If it fails, the corruption to
# patch-gcc_Makefile.in chronicled in PR pkg/58963 `gcc:
# LINK_LIBGCC_SPEC snafu' <https://gnats.NetBSD.org/58963> probably got
# replicated yet again.  You must make sure that LINK_LIBGCC_SPEC is
# appropriately set with @@GCC_TARGET_MACHINE@@ in patch-gcc_Makefile.in
# or similar, or confirm with a discussion on tech-pkg@@ that it is no
# longer relevant before you remove this SUBST.
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

GCC_TARGET_MACHINE?=	${MACHINE_GNU_PLATFORM}
BUILD_DEFS+=		GCC_TARGET_MACHINE

CTF_FILES_SKIP+=	*/gengtype	# CPU limit exceeded

pre-configure:
	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}

TEST_TARGET=	-j ${MAKE_JOBS} -k check || ${TRUE}
TEST_DEPENDS+=	dejagnu-[0-9]*:../../devel/dejagnu

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(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};

CHECK_BUILTIN.zlib:= yes
.include "../../devel/zlib/builtin.mk"
CHECK_BUILTIN.zlib:= no
.if !empty(USE_BUILTIN.zlib:M[yY][eE][sS])
CONFIGURE_ARGS+=	--with-system-zlib
.else
CONFIGURE_ARGS+=	--without-system-zlib
.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@lang/gcc10*: Fix LINK_LIBGCC_SPEC.

PR pkg/58963: gcc: LINK_LIBGCC_SPEC snafu
PR pkg/48740: lang/gcc44 to gcc46 linker fails because of whitespace
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/08/15 13:49:17 tnn Exp $
a31 2
NOT_FOR_PLATFORM=	Interix-*-*

@


1.7
log
@gcc*: replace gnarly cargo-culted extract logic with EXTRACT_ONLY
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/06/06 12:41:42 riastradh Exp $
d4 1
a4 1
PKGREVISION=		1
d187 16
@


1.7.12.1
log
@Pullup ticket #6928 - requested by riastradh
lang/gcc10-aux: install fix
lang/gcc10-libs: install fix
lang/gcc10: install fix
lang/gcc12: install fix
lang/gcc13-gnat: install fix
lang/gcc13-libs: install fix
lang/gcc13: install fix
lang/gcc14-libs: install fix
lang/gcc14: install fix
lang/gcc6: install fix
lang/gcc7-libs: install fix
lang/gcc8-libs: install fix
lang/gcc9-libs: install fix

Revisions pulled up:
- lang/gcc10-aux/Makefile                                       1.8
- lang/gcc10-aux/distinfo                                       1.2
- lang/gcc10-aux/patches/patch-gcc_Makefile.in                  1.2
- lang/gcc10-libs/Makefile                                      1.10-1.11
- lang/gcc10/Makefile                                           1.26
- lang/gcc10/Makefile.common                                    1.11
- lang/gcc10/distinfo                                           1.19
- lang/gcc10/patches/patch-gcc_Makefile.in                      1.3
- lang/gcc12-libs/Makefile                                      1.7-1.8
- lang/gcc12/Makefile                                           1.11
- lang/gcc12/Makefile.common                                    1.10
- lang/gcc12/distinfo                                           1.11
- lang/gcc12/patches/patch-gcc_Makefile.in                      1.2
- lang/gcc13-gnat/Makefile                                      1.3
- lang/gcc13-gnat/distinfo                                      1.4
- lang/gcc13-gnat/patches/patch-gcc_Makefile.in                 1.2
- lang/gcc13-libs/Makefile                                      1.3-1.4
- lang/gcc13/Makefile                                           1.4
- lang/gcc13/Makefile.common                                    1.9
- lang/gcc13/distinfo                                           1.5
- lang/gcc13/patches/patch-gcc_Makefile.in                      1.2
- lang/gcc14-libs/Makefile                                      1.2-1.3
- lang/gcc14/Makefile                                           1.2
- lang/gcc14/Makefile.common                                    1.5
- lang/gcc14/distinfo                                           1.6
- lang/gcc14/patches/patch-gcc_Makefile.in                      1.2
- lang/gcc6-libs/Makefile                                       1.21
- lang/gcc6/Makefile                                            1.48
- lang/gcc7-libs/Makefile                                       1.17
- lang/gcc8-libs/Makefile                                       1.19
- lang/gcc9-libs/Makefile                                       1.12

---
   Module Name:    pkgsrc
   Committed By:   riastradh
   Date:           Tue Jan  7 19:54:31 UTC 2025

   Modified Files:
           pkgsrc/lang/gcc10: Makefile Makefile.common distinfo
           pkgsrc/lang/gcc10-aux: Makefile distinfo
           pkgsrc/lang/gcc10-aux/patches: patch-gcc_Makefile.in
           pkgsrc/lang/gcc10-libs: Makefile
           pkgsrc/lang/gcc10/patches: patch-gcc_Makefile.in

   Log Message:
   lang/gcc10*: Fix LINK_LIBGCC_SPEC.

   PR pkg/58963: gcc: LINK_LIBGCC_SPEC snafu
   PR pkg/48740: lang/gcc44 to gcc46 linker fails because of whitespace

---
   Module Name:    pkgsrc
   Committed By:   riastradh
   Date:           Tue Jan  7 19:55:38 UTC 2025

   Modified Files:
           pkgsrc/lang/gcc12: Makefile Makefile.common distinfo
           pkgsrc/lang/gcc12-libs: Makefile
           pkgsrc/lang/gcc12/patches: patch-gcc_Makefile.in

   Log Message:
   lang/gcc12*: Fix LINK_LIBGCC_SPEC.

   PR pkg/58963: gcc: LINK_LIBGCC_SPEC snafu
   PR pkg/48740: lang/gcc44 to gcc46 linker fails because of whitespace

---
   Module Name:    pkgsrc
   Committed By:   riastradh
   Date:           Tue Jan  7 19:55:52 UTC 2025

   Modified Files:
           pkgsrc/lang/gcc13: Makefile Makefile.common distinfo
           pkgsrc/lang/gcc13-gnat: Makefile distinfo
           pkgsrc/lang/gcc13-gnat/patches: patch-gcc_Makefile.in
           pkgsrc/lang/gcc13-libs: Makefile
           pkgsrc/lang/gcc13/patches: patch-gcc_Makefile.in

   Log Message:
   lang/gcc13*: Fix LINK_LIBGCC_SPEC.

   PR pkg/58963: gcc: LINK_LIBGCC_SPEC snafu
   PR pkg/48740: lang/gcc44 to gcc46 linker fails because of whitespace

---
   Module Name:    pkgsrc
   Committed By:   riastradh
   Date:           Tue Jan  7 19:56:07 UTC 2025

   Modified Files:
           pkgsrc/lang/gcc14: Makefile Makefile.common distinfo
           pkgsrc/lang/gcc14-libs: Makefile
           pkgsrc/lang/gcc14/patches: patch-gcc_Makefile.in

   Log Message:
   lang/gcc14*: Fix LINK_LIBGCC_SPEC.

   PR pkg/58963: gcc: LINK_LIBGCC_SPEC snafu
   PR pkg/48740: lang/gcc44 to gcc46 linker fails because of whitespace

---
   Module Name:    pkgsrc
   Committed By:   riastradh
   Date:           Tue Jan  7 19:56:15 UTC 2025

   Modified Files:
           pkgsrc/lang/gcc6: Makefile

   Log Message:
   lang/gcc6: Add scary comment over GCC_TARGET_MACHINE substitution.

   Same one as in later lang/gcc* versions, for consistency.

   No functional change intended.

---
   Module Name:    pkgsrc
   Committed By:   riastradh
   Date:           Tue Jan  7 19:56:45 UTC 2025

   Modified Files:
           pkgsrc/lang/gcc10-libs: Makefile
           pkgsrc/lang/gcc12-libs: Makefile
           pkgsrc/lang/gcc13-libs: Makefile
           pkgsrc/lang/gcc14-libs: Makefile
           pkgsrc/lang/gcc6-libs: Makefile
           pkgsrc/lang/gcc7-libs: Makefile
           pkgsrc/lang/gcc8-libs: Makefile
           pkgsrc/lang/gcc9-libs: Makefile

   Log Message:
   lang/gccN-libs: Disable REQUIRES/PROVIDES analysis.

   This is a stop-gap measure to work around:

   PR pkg/58966: mk: REQUIRES/PROVIDES analysis is wrong for
   self-libraries

   It should be removed once the REQUIRES/PROVIDES analysis is fixed.

   Since the REQUIRES/PROVIDES analysis is already done for the
   underlying lang/gccN package, and the transformation from lang/gccN
   to lang/gccN-libs is straightforward, disabling this check should be
   reasonably low-risk -- currently the lang/gccN-libs packages are
   outright broken and unusable with pkgtools/pkg_install.

   This doesn't change the content of the package, only the metadata, so
   no need for recursive revbump of dependent packages.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a4 1
PKGREVISION=		2
a186 16
# DO NOT REMOVE THIS SUBST.  If it fails, the corruption to
# patch-gcc_Makefile.in chronicled in PR pkg/58963 `gcc:
# LINK_LIBGCC_SPEC snafu' <https://gnats.NetBSD.org/58963> probably got
# replicated yet again.  You must make sure that LINK_LIBGCC_SPEC is
# appropriately set with @@GCC_TARGET_MACHINE@@ in patch-gcc_Makefile.in
# or similar, or confirm with a discussion on tech-pkg@@ that it is no
# longer relevant before you remove this SUBST.
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

GCC_TARGET_MACHINE?=	${MACHINE_GNU_PLATFORM}
BUILD_DEFS+=		GCC_TARGET_MACHINE

@


1.6
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/09/22 11:35:27 wiz Exp $
d94 2
d97 1
a97 2
	${TAR} -jxf ${DISTDIR}/${ISL16}.tar.bz2 -C ${WRKSRC}
	${MV} ${WRKSRC}/${ISL16} ${WRKSRC}/isl
@


1.5
log
@gcc10-aux: disable stack check

gcc6-aux does not support some of the flags.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/06/28 11:34:10 wiz Exp $
d22 1
a22 1
BUILD_DEPENDS+=		gcc6-aux-[0-9]*:../../lang/gcc6-aux
@


1.4
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/05/19 15:57:23 ryoon Exp $
d27 3
@


1.3
log
@gcc10-aux: Fix build when lang/libunwind is installed

Do not include PREFIX/include in CPPFLAGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/03/27 15:06:11 tnn Exp $
d4 1
@


1.2
log
@gcc*: only use system zlib if it is native, else use bundled

This is the logic we have in gcc8. Replicate it to newer GCC packages.
Using pkgsrc zlib causes problems linking gcov(1) on at least Linux
and SunOS. It is not worth bend-over-backwards rpath-patching.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/03/13 08:34:04 nia Exp $
d20 3
a214 2
# Add gcc6-aux as an explicit dependency. It is needed to bootstrap.
.include "../../lang/gcc6-aux/buildlink3.mk"
@


1.1
log
@lang: import gcc10-aux, the gcc10 ada compiler. from irvise in pkgsrc-wip.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2021/10/12 13:46:14 tnn Exp $
a113 1
CONFIGURE_ARGS+=	--with-system-zlib
d204 8
a213 1
.include "../../devel/zlib/buildlink3.mk"
@

