From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 55C1C13895B for ; Sun, 10 Feb 2013 06:18:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F260E060F; Sun, 10 Feb 2013 06:18:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3249E060F for ; Sun, 10 Feb 2013 06:18:21 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B945933DEA6 for ; Sun, 10 Feb 2013 06:18:20 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id 7C43D2171D; Sun, 10 Feb 2013 06:18:19 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: linux-info.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: linux-info.eclass X-VCS-Directories: eclass X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130210061819.7C43D2171D@flycatcher.gentoo.org> Date: Sun, 10 Feb 2013 06:18:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d45ee6fb-1649-4e0f-9662-f6dbf47b7437 X-Archives-Hash: 47376f21bdddb26ae431a8962a93561f vapier 13/02/10 06:18:19 Modified: linux-info.eclass Log: use emake rather than make to extract variable values #373151 by Kevin Pyle Revision Changes Path 1.98 eclass/linux-info.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.98&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.98&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?r1=1.97&r2=1.98 Index: linux-info.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v retrieving revision 1.97 retrieving revision 1.98 diff -u -r1.97 -r1.98 --- linux-info.eclass 10 Feb 2013 02:21:55 -0000 1.97 +++ linux-info.eclass 10 Feb 2013 06:18:19 -0000 1.98 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.97 2013/02/10 02:21:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.98 2013/02/10 06:18:19 vapier Exp $ # @ECLASS: linux-info.eclass # @MAINTAINER: @@ -183,8 +183,10 @@ basedname="$(dirname ${2})" unset ARCH + # We use nonfatal because we want the caller to take care of things #373151 + [[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; } echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \ - make -C "${basedname}" M="${S}" ${BUILD_FIXES} -s -f - 2>/dev/null + nonfatal emake -C "${basedname}" M="${S}" ${BUILD_FIXES} -s -f - 2>/dev/null ARCH=${myARCH} fi