Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: eclass/
Date: Thu, 24 Dec 2015 01:18:24
Message-Id: 1450919752.527cf7a49319cd2f8d6cc364fb50aeec54e85deb.eva@gentoo
1 commit: 527cf7a49319cd2f8d6cc364fb50aeec54e85deb
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 24 01:15:52 2015 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 24 01:15:52 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=527cf7a4
7
8 multibuild.eclass: sync with gentoo.git
9
10 eclass/multibuild.eclass | 10 ++++++----
11 1 file changed, 6 insertions(+), 4 deletions(-)
12
13 diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass
14 index ede0f03..912545c 100644
15 --- a/eclass/multibuild.eclass
16 +++ b/eclass/multibuild.eclass
17 @@ -1,8 +1,8 @@
18 # Copyright 1999-2015 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 -# $Header: /var/cvsroot/gentoo-x86/eclass/multibuild.eclass,v 1.20 2014/12/13 08:42:42 mgorny Exp $
21 +# $Id$
22
23 -# @ECLASS: multibuild
24 +# @ECLASS: multibuild.eclass
25 # @MAINTAINER:
26 # Michał Górny <mgorny@g.o>
27 # @AUTHOR:
28 @@ -17,7 +17,7 @@ case "${EAPI:-0}" in
29 0|1|2|3)
30 die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
31 ;;
32 - 4|5)
33 + 4|5|6)
34 ;;
35 *)
36 die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
37 @@ -158,6 +158,8 @@ multibuild_foreach_variant() {
38 multibuild_parallel_foreach_variant() {
39 debug-print-function ${FUNCNAME} "${@}"
40
41 + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}"
42 +
43 multibuild_foreach_variant "${@}"
44 }
45
46 @@ -205,7 +207,7 @@ multibuild_copy_sources() {
47
48 _multibuild_create_source_copy() {
49 einfo "${MULTIBUILD_VARIANT}: copying to ${BUILD_DIR}"
50 - cp -pr "${cp_args[@]}" \
51 + cp -p -R "${cp_args[@]}" \
52 "${_MULTIBUILD_INITIAL_BUILD_DIR}" "${BUILD_DIR}" || die
53 }