summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-25 23:52:24 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-25 23:52:24 +0100
commit86ffba1a0397190ef2bb00e7c5e4cdebc90445d4 (patch)
treefbcc77a7518ccddc7a73f1b9ca47cf2f60499fbd /eclass
parentdev-libs/openssl: Fix the build on alpha (diff)
downloadgentoo-86ffba1a0397190ef2bb00e7c5e4cdebc90445d4.tar.gz
gentoo-86ffba1a0397190ef2bb00e7c5e4cdebc90445d4.tar.bz2
gentoo-86ffba1a0397190ef2bb00e7c5e4cdebc90445d4.zip
epunt-cxx.eclass: Remove last-rited eclass
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/epunt-cxx.eclass51
1 files changed, 0 insertions, 51 deletions
diff --git a/eclass/epunt-cxx.eclass b/eclass/epunt-cxx.eclass
deleted file mode 100644
index 91406ed86f05..000000000000
--- a/eclass/epunt-cxx.eclass
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# @DEAD
-# No consumers, this eclass is not useful anymore, as a functioning
-# C++ compiler is required nowadays. Removal in 15 days.
-
-# @ECLASS: epunt-cxx.eclass
-# @MAINTAINER:
-# base-system@gentoo.org
-# @BLURB: A function to punt C++ compiler checks from autoconf
-# @DESCRIPTION:
-# Support for punting C++ compiler checks from autoconf (based
-# on ELT-patches).
-
-if [[ -z ${_EPUNT_CXX_ECLASS} ]]; then
-
-# eutils for eqawarn
-inherit eutils
-
-DEPEND=">=app-portage/elt-patches-20170317"
-
-# @FUNCTION: epunt_cxx
-# @USAGE: [dir to scan]
-# @DESCRIPTION:
-# Many configure scripts wrongly bail when a C++ compiler could not be
-# detected. If dir is not specified, then it defaults to ${S}.
-#
-# https://bugs.gentoo.org/73450
-epunt_cxx() {
- local dir=$1
- [[ -z ${dir} ]] && dir=${S}
- ebegin "Removing useless C++ checks"
- local f p any_found
- while IFS= read -r -d '' f; do
- for p in "${EPREFIX}/usr/share/elt-patches"/nocxx/*.patch ; do
- if patch --no-backup-if-mismatch -p1 "${f}" "${p}" >/dev/null ; then
- any_found=1
- break
- fi
- done
- done < <(find "${dir}" -name configure -print0)
-
- if [[ -z ${any_found} ]]; then
- eqawarn "epunt_cxx called unnecessarily (no C++ checks to punt)."
- fi
- eend 0
-}
-
-_EPUNT_CXX_ECLASS=1
-fi #_EPUNT_CXX_ECLASS