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

Diff of /eclass/eutils.eclass

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

Revision 1.409 Revision 1.410
1# Copyright 1999-2012 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.409 2012/10/23 21:09:39 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.410 2013/02/10 11:42:48 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
1267# http://bugs.gentoo.org/73450 1267# http://bugs.gentoo.org/73450
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 1272 local f any_found
1273 find "${dir}" -name configure | while read f ; do 1273 find "${dir}" -name configure | while read f ; do
1274 patch --no-backup-if-mismatch -p0 "${f}" "${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" > /dev/null 1274 patch --no-backup-if-mismatch -p0 "${f}" \
1275 "${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" > /dev/null \
1276 && any_found=1
1275 done 1277 done
1278
1279 if [[ -z ${any_found} ]]; then
1280 eqawarn "epunt_cxx called unnecessarily (no C++ checks to punt)."
1281 fi
1276 eend 0 1282 eend 0
1277} 1283}
1278 1284
1279# @FUNCTION: make_wrapper 1285# @FUNCTION: make_wrapper
1280# @USAGE: <wrapper> <target> [chdir] [libpaths] [installpath] 1286# @USAGE: <wrapper> <target> [chdir] [libpaths] [installpath]

Legend:
Removed from v.1.409  
changed lines
  Added in v.1.410

  ViewVC Help
Powered by ViewVC 1.1.20