Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 23 Nov 2015 16:09:42
Message-Id: 1448294966.d87e38fc828f96056f78b17b89963362c9245182.mgorny@gentoo
1 commit: d87e38fc828f96056f78b17b89963362c9245182
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 23 16:08:09 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 23 16:09:26 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87e38fc
7
8 [QA] kernel-2.eclass: Revert "use experimental in global scope"
9
10 Revert the global 'use' call fix as it causes build failures for users.
11
12 Bug: https://bugs.gentoo.org/show_bug.cgi?id=566600
13
14 eclass/kernel-2.eclass | 10 ++++++++--
15 1 file changed, 8 insertions(+), 2 deletions(-)
16
17 diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
18 index c622323..1a508f1 100644
19 --- a/eclass/kernel-2.eclass
20 +++ b/eclass/kernel-2.eclass
21 @@ -160,9 +160,15 @@ handle_genpatches() {
22 if [[ "${i}" == "experimental" && -z ${K_EXP_GENPATCHES_PULL} && -z ${K_EXP_GENPATCHES_NOUSE} ]] ; then
23 use_cond_start="experimental? ( "
24 use_cond_end=" )"
25 +
26 + if use experimental ; then
27 + UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
28 + debug-print "genpatches tarball: $tarball"
29 + fi
30 + else
31 + UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
32 + debug-print "genpatches tarball: $tarball"
33 fi
34 - UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
35 - debug-print "genpatches tarball: $tarball"
36 GENPATCHES_URI+=" ${use_cond_start}mirror://gentoo/${tarball}${use_cond_end}"
37 done
38 }