1 |
commit: 78ba2013f2aa0f519a6c2e7b5d951ac84319d0df |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 31 18:43:33 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 31 20:42:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ba2013 |
7 |
|
8 |
toolchain.eclass: drop support for standalone lang=d |
9 |
|
10 |
'd' is merged and maintained upstream. Dropped support |
11 |
for external patches. No ::gentoo ebuilds are using it. |
12 |
|
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
eclass/toolchain.eclass | 16 ---------------- |
16 |
1 file changed, 16 deletions(-) |
17 |
|
18 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
19 |
index 4f4dc83c8d6..4ba4674f19b 100644 |
20 |
--- a/eclass/toolchain.eclass |
21 |
+++ b/eclass/toolchain.eclass |
22 |
@@ -146,7 +146,6 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then |
23 |
fi |
24 |
IUSE+=" debug +cxx +nptl" TC_FEATURES+=(nptl) |
25 |
[[ -n ${PIE_VER} ]] && IUSE+=" nopie" |
26 |
- [[ -n ${D_VER} ]] && IUSE+=" d" |
27 |
[[ -n ${SPECS_VER} ]] && IUSE+=" nossp" |
28 |
# fortran support appeared in 4.1, but 4.1 needs outdated mpfr |
29 |
tc_version_is_at_least 4.2 && IUSE+=" +fortran" TC_FEATURES+=(fortran) |
30 |
@@ -378,9 +377,6 @@ get_gcc_src_uri() { |
31 |
[[ -n ${SPECS_VER} ]] && \ |
32 |
GCC_SRC_URI+=" $(gentoo_urls gcc-${SPECS_GCC_VER}-specs-${SPECS_VER}.tar.bz2)" |
33 |
|
34 |
- [[ -n ${D_VER} ]] && \ |
35 |
- GCC_SRC_URI+=" d? ( mirror://sourceforge/dgcc/gdc-${D_VER}-src.tar.bz2 )" |
36 |
- |
37 |
if tc_has_feature gcj ; then |
38 |
if tc_version_is_at_least 4.5 ; then |
39 |
GCC_SRC_URI+=" gcj? ( ftp://sourceware.org/pub/java/ecj-4.5.jar )" |
40 |
@@ -451,18 +447,6 @@ toolchain_src_prepare() { |
41 |
export BRANDING_GCC_PKGVERSION="Gentoo ${GCC_PVR}" |
42 |
cd "${S}" |
43 |
|
44 |
- if [[ -n ${D_VER} ]] && use d ; then |
45 |
- mv "${WORKDIR}"/d gcc/d || die |
46 |
- ebegin "Adding support for the D language" |
47 |
- ./gcc/d/setup-gcc.sh >& "${T}"/dgcc.log |
48 |
- if ! eend $? ; then |
49 |
- eerror "The D GCC package failed to apply" |
50 |
- eerror "Please include this log file when posting a bug report:" |
51 |
- eerror " ${T}/dgcc.log" |
52 |
- die "failed to include the D language" |
53 |
- fi |
54 |
- fi |
55 |
- |
56 |
do_gcc_gentoo_patches |
57 |
do_gcc_PIE_patches |
58 |
do_gcc_CYGWINPORTS_patches |