Skip to content

Commit

Permalink
lang/gcc*: USE_TOOLS+=sed, not sed:run.
Browse files Browse the repository at this point in the history
As far as I can tell, gcc needs this at build-time, not at run-time.

https://mail-index.netbsd.org/tech-pkg/2023/06/02/msg027624.html
  • Loading branch information
riastradh committed Jun 3, 2023
1 parent 9e2c966 commit b3684b8
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions lang/gcc10/Makefile.common
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.3 2023/04/06 22:14:27 wiz Exp $
# $NetBSD: Makefile.common,v 1.4 2023/06/03 13:22:43 riastradh Exp $
# used by lang/gcc10-libjit/Makefile

GCC_PKGNAME= gcc10
Expand Down Expand Up @@ -26,7 +26,7 @@ CHECK_RELRO_SKIP+= ${GCC_PKGNAME}/lib/*
NOT_FOR_PLATFORM= Interix-*-*

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

GNU_CONFIGURE= yes
Expand Down
4 changes: 2 additions & 2 deletions lang/gcc12/Makefile.common
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.1 2023/04/07 06:48:27 wiz Exp $
# $NetBSD: Makefile.common,v 1.2 2023/06/03 13:22:43 riastradh Exp $
# used by lang/gcc12-libjit/Makefile

GCC_PKGNAME= gcc12
Expand Down Expand Up @@ -26,7 +26,7 @@ CHECK_RELRO_SKIP+= ${GCC_PKGNAME}/lib/*
NOT_FOR_PLATFORM= Interix-*-*

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

GNU_CONFIGURE= yes
Expand Down
4 changes: 2 additions & 2 deletions lang/gcc13/Makefile.common
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.1 2023/05/03 20:03:09 wiz Exp $
# $NetBSD: Makefile.common,v 1.2 2023/06/03 13:22:43 riastradh Exp $
# used by lang/gcc13-libjit/Makefile

GCC_PKGNAME= gcc13
Expand Down Expand Up @@ -26,7 +26,7 @@ CHECK_RELRO_SKIP+= ${GCC_PKGNAME}/lib/*
NOT_FOR_PLATFORM= Interix-*-*

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

GNU_CONFIGURE= yes
Expand Down
4 changes: 2 additions & 2 deletions lang/gcc6/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.39 2023/06/03 13:22:18 riastradh Exp $
# $NetBSD: Makefile,v 1.40 2023/06/03 13:22:43 riastradh Exp $

GCC_PKGNAME= gcc6
.include "version.mk"
Expand Down Expand Up @@ -30,7 +30,7 @@ CHECK_RELRO_SKIP+= ${GCC_PKGNAME}/lib/*
NOT_FOR_PLATFORM= Interix-*-*

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

GNU_CONFIGURE= yes
Expand Down
4 changes: 2 additions & 2 deletions lang/gcc7/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.47 2023/06/03 13:22:18 riastradh Exp $
# $NetBSD: Makefile,v 1.48 2023/06/03 13:22:43 riastradh Exp $

GCC_PKGNAME= gcc7
.include "version.mk"
Expand Down Expand Up @@ -28,7 +28,7 @@ CHECK_RELRO_SKIP+= ${GCC_PKGNAME}/lib/*
NOT_FOR_PLATFORM= Interix-*-* Darwin-*-aarch64

USE_LANGUAGES= c99 c++
USE_TOOLS+= gmake makeinfo perl sed:run tar:build
USE_TOOLS+= gmake makeinfo perl sed tar:build
USE_TOOLS.NetBSD+= gsed

GNU_CONFIGURE= yes
Expand Down
4 changes: 2 additions & 2 deletions lang/gcc8/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.36 2023/06/03 13:22:04 riastradh Exp $
# $NetBSD: Makefile,v 1.37 2023/06/03 13:22:43 riastradh Exp $

GCC_PKGNAME= gcc8
.include "version.mk"
Expand Down Expand Up @@ -27,7 +27,7 @@ CHECK_RELRO_SKIP+= ${GCC_PKGNAME}/lib/*
NOT_FOR_PLATFORM= Interix-*-* Darwin-*-aarch64

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

GNU_CONFIGURE= yes
Expand Down
4 changes: 2 additions & 2 deletions lang/gcc9/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.43 2023/06/03 13:22:04 riastradh Exp $
# $NetBSD: Makefile,v 1.44 2023/06/03 13:22:44 riastradh Exp $

GCC_PKGNAME= gcc9
.include "version.mk"
Expand All @@ -22,7 +22,7 @@ DISTFILES= ${DEFAULT_DISTFILES}
EXTRACT_ONLY= ${DEFAULT_DISTFILES}

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

# Relocations result in a linker error on AArch64, but not x86.
Expand Down

0 comments on commit b3684b8

Please sign in to comment.