Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: linux-info.eclass
Date: Sat, 28 Jun 2014 09:10:05
Message-Id: 20140628075427.B19E22004E@flycatcher.gentoo.org
1 robbat2 14/06/28 07:54:27
2
3 Modified: linux-info.eclass
4 Log:
5 ChangeLog
6
7 Revision Changes Path
8 1.104 eclass/linux-info.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.104&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.104&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?r1=1.103&r2=1.104
13
14 Index: linux-info.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v
17 retrieving revision 1.103
18 retrieving revision 1.104
19 diff -p -w -b -B -u -u -r1.103 -r1.104
20 --- linux-info.eclass 21 Mar 2014 22:03:00 -0000 1.103
21 +++ linux-info.eclass 28 Jun 2014 07:54:27 -0000 1.104
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2014 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.103 2014/03/21 22:03:00 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.104 2014/06/28 07:54:27 robbat2 Exp $
27
28 # @ECLASS: linux-info.eclass
29 # @MAINTAINER:
30 @@ -164,7 +164,7 @@ qeerror() { qout eerror "${@}" ; }
31 # done by including the configfile, and printing the variable with Make.
32 # It WILL break if your makefile has missing dependencies!
33 getfilevar() {
34 - local ERROR basefname basedname myARCH="${ARCH}"
35 + local ERROR basefname basedname myARCH="${ARCH}" M="${S}"
36 ERROR=0
37
38 [ -z "${1}" ] && ERROR=1
39 @@ -182,8 +182,11 @@ getfilevar() {
40
41 # We use nonfatal because we want the caller to take care of things #373151
42 [[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; }
43 + case ${EBUILD_PHASE_FUNC} in
44 + pkg_info|pkg_nofetch|pkg_pretend) M="${T}" ;;
45 + esac
46 echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \
47 - nonfatal emake -C "${basedname}" M="${S}" ${BUILD_FIXES} -s -f - 2>/dev/null
48 + nonfatal emake -C "${basedname}" M="${M}" ${BUILD_FIXES} -s -f - 2>/dev/null
49
50 ARCH=${myARCH}
51 fi