pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang Restrict gcc gsed usage to NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17508ed962ef
branches:  trunk
changeset: 364273:17508ed962ef
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Jun 22 21:44:49 2017 +0000

description:
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.

diffstat:

 lang/gcc48/Makefile |  5 +++--
 lang/gcc49/Makefile |  6 ++++--
 lang/gcc5/Makefile  |  5 +++--
 lang/gcc6/Makefile  |  7 ++++---
 lang/gcc7/Makefile  |  7 ++++---
 5 files changed, 18 insertions(+), 12 deletions(-)

diffs (100 lines):

diff -r f65e29932b26 -r 17508ed962ef lang/gcc48/Makefile
--- a/lang/gcc48/Makefile       Thu Jun 22 21:03:49 2017 +0000
+++ b/lang/gcc48/Makefile       Thu Jun 22 21:44:49 2017 +0000
@@ -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}
diff -r f65e29932b26 -r 17508ed962ef lang/gcc49/Makefile
--- a/lang/gcc49/Makefile       Thu Jun 22 21:03:49 2017 +0000
+++ b/lang/gcc49/Makefile       Thu Jun 22 21:44:49 2017 +0000
@@ -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}
diff -r f65e29932b26 -r 17508ed962ef lang/gcc5/Makefile
--- a/lang/gcc5/Makefile        Thu Jun 22 21:03:49 2017 +0000
+++ b/lang/gcc5/Makefile        Thu Jun 22 21:44:49 2017 +0000
@@ -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}
diff -r f65e29932b26 -r 17508ed962ef lang/gcc6/Makefile
--- a/lang/gcc6/Makefile        Thu Jun 22 21:03:49 2017 +0000
+++ b/lang/gcc6/Makefile        Thu Jun 22 21:44:49 2017 +0000
@@ -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}
diff -r f65e29932b26 -r 17508ed962ef lang/gcc7/Makefile
--- a/lang/gcc7/Makefile        Thu Jun 22 21:03:49 2017 +0000
+++ b/lang/gcc7/Makefile        Thu Jun 22 21:44:49 2017 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index