1 |
commit: 86ffba1a0397190ef2bb00e7c5e4cdebc90445d4 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 25 22:52:24 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 25 22:52:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ffba1a |
7 |
|
8 |
epunt-cxx.eclass: Remove last-rited eclass |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
eclass/epunt-cxx.eclass | 51 ------------------------------------------------- |
13 |
1 file changed, 51 deletions(-) |
14 |
|
15 |
diff --git a/eclass/epunt-cxx.eclass b/eclass/epunt-cxx.eclass |
16 |
deleted file mode 100644 |
17 |
index 91406ed86f0..00000000000 |
18 |
--- a/eclass/epunt-cxx.eclass |
19 |
+++ /dev/null |
20 |
@@ -1,51 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-# @DEAD |
25 |
-# No consumers, this eclass is not useful anymore, as a functioning |
26 |
-# C++ compiler is required nowadays. Removal in 15 days. |
27 |
- |
28 |
-# @ECLASS: epunt-cxx.eclass |
29 |
-# @MAINTAINER: |
30 |
-# base-system@g.o |
31 |
-# @BLURB: A function to punt C++ compiler checks from autoconf |
32 |
-# @DESCRIPTION: |
33 |
-# Support for punting C++ compiler checks from autoconf (based |
34 |
-# on ELT-patches). |
35 |
- |
36 |
-if [[ -z ${_EPUNT_CXX_ECLASS} ]]; then |
37 |
- |
38 |
-# eutils for eqawarn |
39 |
-inherit eutils |
40 |
- |
41 |
-DEPEND=">=app-portage/elt-patches-20170317" |
42 |
- |
43 |
-# @FUNCTION: epunt_cxx |
44 |
-# @USAGE: [dir to scan] |
45 |
-# @DESCRIPTION: |
46 |
-# Many configure scripts wrongly bail when a C++ compiler could not be |
47 |
-# detected. If dir is not specified, then it defaults to ${S}. |
48 |
-# |
49 |
-# https://bugs.gentoo.org/73450 |
50 |
-epunt_cxx() { |
51 |
- local dir=$1 |
52 |
- [[ -z ${dir} ]] && dir=${S} |
53 |
- ebegin "Removing useless C++ checks" |
54 |
- local f p any_found |
55 |
- while IFS= read -r -d '' f; do |
56 |
- for p in "${EPREFIX}/usr/share/elt-patches"/nocxx/*.patch ; do |
57 |
- if patch --no-backup-if-mismatch -p1 "${f}" "${p}" >/dev/null ; then |
58 |
- any_found=1 |
59 |
- break |
60 |
- fi |
61 |
- done |
62 |
- done < <(find "${dir}" -name configure -print0) |
63 |
- |
64 |
- if [[ -z ${any_found} ]]; then |
65 |
- eqawarn "epunt_cxx called unnecessarily (no C++ checks to punt)." |
66 |
- fi |
67 |
- eend 0 |
68 |
-} |
69 |
- |
70 |
-_EPUNT_CXX_ECLASS=1 |
71 |
-fi #_EPUNT_CXX_ECLASS |