Thu Jun 22 21:44:50 2017 UTC ()
Restrict gcc gsed usage to NetBSD
(NetBSD/mips64 progress further with gsed)

Adding gsed as a tool creates circular dependencies if pkgsrc gcc is used
as the bootstrap compiler.

Pointed out by jperkin, sorry.


(maya)
diff -r1.33 -r1.34 pkgsrc/lang/gcc48/Makefile
diff -r1.17 -r1.18 pkgsrc/lang/gcc49/Makefile
diff -r1.18 -r1.19 pkgsrc/lang/gcc5/Makefile
diff -r1.5 -r1.6 pkgsrc/lang/gcc6/Makefile
diff -r1.6 -r1.7 pkgsrc/lang/gcc7/Makefile

cvs diff -r1.33 -r1.34 pkgsrc/lang/gcc48/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/lang/gcc48/Attic/Makefile 2017/06/21 21:16:35 1.33
+++ pkgsrc/lang/gcc48/Attic/Makefile 2017/06/22 21:44:49 1.34
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2017/06/21 21:16:35 maya Exp $
+# $NetBSD: Makefile,v 1.34 2017/06/22 21:44:49 maya Exp $
 
 GCC_PKGNAME=	gcc48
 .include	"version.mk"
@@ -24,7 +24,8 @@
 NOT_FOR_PLATFORM=	Interix-*-*
 
 USE_LANGUAGES=		c c++
-USE_TOOLS+=		gmake makeinfo gsed
+USE_TOOLS+=		gmake makeinfo sed:run
+USE_TOOLS.NetBSD+=	gsed
 GNU_CONFIGURE=		yes
 GCC_REQD+=		4.4
 ## Build outside ${WRKSRC}

cvs diff -r1.17 -r1.18 pkgsrc/lang/gcc49/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/lang/gcc49/Attic/Makefile 2017/06/21 21:16:35 1.17
+++ pkgsrc/lang/gcc49/Attic/Makefile 2017/06/22 21:44:49 1.18
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2017/06/21 21:16:35 maya Exp $
+# $NetBSD: Makefile,v 1.18 2017/06/22 21:44:49 maya Exp $
 
 GCC_PKGNAME=	gcc49
 .include	"version.mk"
@@ -25,7 +25,9 @@
 NOT_FOR_PLATFORM=	Interix-*-*
 
 USE_LANGUAGES=		c c++
-USE_TOOLS+=		gmake makeinfo gsed
+USE_TOOLS+=		gmake makeinfo sed:run
+USE_TOOLS.NetBSD+=	gsed
+
 
 GNU_CONFIGURE=		yes
 ## Build outside ${WRKSRC}

cvs diff -r1.18 -r1.19 pkgsrc/lang/gcc5/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/lang/gcc5/Attic/Makefile 2017/06/21 21:16:36 1.18
+++ pkgsrc/lang/gcc5/Attic/Makefile 2017/06/22 21:44:49 1.19
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/06/21 21:16:36 maya Exp $
+# $NetBSD: Makefile,v 1.19 2017/06/22 21:44:49 maya Exp $
 
 GCC_PKGNAME=		gcc5
 PKGREVISION=		3
@@ -24,7 +24,8 @@
 NOT_FOR_PLATFORM=	Interix-*-*
 
 USE_LANGUAGES=	c c++
-USE_TOOLS+=		gmake makeinfo gsed tar:build
+USE_TOOLS+=		gmake makeinfo sed:run tar:build
+USE_TOOLS.NetBSD+=	gsed
 
 GNU_CONFIGURE=		yes
 ## Build outside ${WRKSRC}

cvs diff -r1.5 -r1.6 pkgsrc/lang/gcc6/Makefile (expand / switch to context diff)
--- pkgsrc/lang/gcc6/Makefile 2017/06/21 21:16:36 1.5
+++ pkgsrc/lang/gcc6/Makefile 2017/06/22 21:44:49 1.6
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2017/06/21 21:16:36 maya Exp $
+# $NetBSD: Makefile,v 1.6 2017/06/22 21:44:49 maya Exp $
 
 GCC_PKGNAME=		gcc6
 .include		"version.mk"
@@ -23,8 +23,9 @@
 
 NOT_FOR_PLATFORM=	Interix-*-*
 
-USE_LANGUAGES=	c c++
-USE_TOOLS+=		gmake makeinfo gsed tar:build
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		gmake makeinfo sed:run tar:build
+USE_TOOLS.NetBSD+=	gsed
 
 GNU_CONFIGURE=		yes
 ## Build outside ${WRKSRC}

cvs diff -r1.6 -r1.7 pkgsrc/lang/gcc7/Makefile (expand / switch to context diff)
--- pkgsrc/lang/gcc7/Makefile 2017/06/21 21:16:36 1.6
+++ pkgsrc/lang/gcc7/Makefile 2017/06/22 21:44:49 1.7
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2017/06/21 21:16:36 maya Exp $
+# $NetBSD: Makefile,v 1.7 2017/06/22 21:44:49 maya Exp $
 
 GCC_PKGNAME=		gcc7
 .include		"version.mk"
@@ -23,8 +23,9 @@
 
 NOT_FOR_PLATFORM=	Interix-*-*
 
-USE_LANGUAGES=	c c++
-USE_TOOLS+=		gmake makeinfo gsed tar:build
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		gmake makeinfo sed:run tar:build
+USE_TOOLS.NetBSD+=	gsed
 
 GNU_CONFIGURE=		yes
 ## Build outside ${WRKSRC}