/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.411 Revision 1.412
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.411 2013/02/26 14:36:40 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.412 2013/03/09 17:55:39 mgorny Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
1268epunt_cxx() { 1268epunt_cxx() {
1269 local dir=$1 1269 local dir=$1
1270 [[ -z ${dir} ]] && dir=${S} 1270 [[ -z ${dir} ]] && dir=${S}
1271 ebegin "Removing useless C++ checks" 1271 ebegin "Removing useless C++ checks"
1272 local f any_found 1272 local f any_found
1273 find "${dir}" -name configure | while read f ; do 1273 while IFS= read -r -d '' f; do
1274 patch --no-backup-if-mismatch -p0 "${f}" \ 1274 patch --no-backup-if-mismatch -p0 "${f}" \
1275 "${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" > /dev/null \ 1275 "${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" > /dev/null \
1276 && any_found=1 1276 && any_found=1
1277 done 1277 done < <(find "${dir}" -name configure -print0)
1278 1278
1279 if [[ -z ${any_found} ]]; then 1279 if [[ -z ${any_found} ]]; then
1280 eqawarn "epunt_cxx called unnecessarily (no C++ checks to punt)." 1280 eqawarn "epunt_cxx called unnecessarily (no C++ checks to punt)."
1281 fi 1281 fi
1282 eend 0 1282 eend 0

Legend:
Removed from v.1.411  
changed lines
  Added in v.1.412

  ViewVC Help
Powered by ViewVC 1.1.20