Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog multilib-build.eclass
Date: Thu, 03 Jul 2014 08:27:05
Message-Id: 20140703082701.31FE82004E@flycatcher.gentoo.org
1 mgorny 14/07/03 08:27:01
2
3 Modified: ChangeLog multilib-build.eclass
4 Log:
5 Explain MULTILIB_COMPAT a bit more verbosely, and add a REQUIRED_USE for it.
6
7 Revision Changes Path
8 1.1308 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1308&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1308&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1307&r2=1.1308
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.1307
18 retrieving revision 1.1308
19 diff -u -r1.1307 -r1.1308
20 --- ChangeLog 3 Jul 2014 07:48:49 -0000 1.1307
21 +++ ChangeLog 3 Jul 2014 08:27:01 -0000 1.1308
22 @@ -1,6 +1,9 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1307 2014/07/03 07:48:49 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1308 2014/07/03 08:27:01 mgorny Exp $
27 +
28 + 03 Jul 2014; Michał Górny <mgorny@g.o> multilib-build.eclass:
29 + Explain MULTILIB_COMPAT a bit more verbosely, and add a REQUIRED_USE for it.
30
31 03 Jul 2014; Michał Górny <mgorny@g.o> multilib-build.eclass:
32 Re-enable multilib flags for s390.
33
34
35
36 1.61 eclass/multilib-build.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.61&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.61&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?r1=1.60&r2=1.61
41
42 Index: multilib-build.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v
45 retrieving revision 1.60
46 retrieving revision 1.61
47 diff -u -r1.60 -r1.61
48 --- multilib-build.eclass 3 Jul 2014 07:48:49 -0000 1.60
49 +++ multilib-build.eclass 3 Jul 2014 08:27:01 -0000 1.61
50 @@ -1,6 +1,6 @@
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.60 2014/07/03 07:48:49 mgorny Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.61 2014/07/03 08:27:01 mgorny Exp $
55
56 # @ECLASS: multilib-build.eclass
57 # @MAINTAINER:
58 @@ -58,8 +58,15 @@
59 #
60 # This variable is intended for use in prebuilt multilib packages that
61 # can provide binaries only for a limited set of ABIs. If ABIs need to
62 -# be limited due to a bug in source code, package.use.mask is
63 -# recommended instead.
64 +# be limited due to a bug in source code, package.use.mask is to be used
65 +# instead. Along with MULTILIB_COMPAT, KEYWORDS should contain '-*'.
66 +#
67 +# Note that setting this variable effectively disables support for all
68 +# other ABIs, including other architectures. For example, specifying
69 +# abi_x86_{32,64} disables support for MIPS as well.
70 +#
71 +# The value of MULTILIB_COMPAT determines the value of IUSE. If set, it
72 +# also enables REQUIRED_USE constraints.
73 #
74 # Example use:
75 # @CODE
76 @@ -114,6 +121,8 @@
77 local usedeps=${flags[@]/%/(-)?}
78
79 IUSE=${flags[*]}
80 + REQUIRED_USE="|| ( ${flags[*]} )"
81 +
82 MULTILIB_USEDEP=${usedeps// /,}
83 }
84 _multilib_build_set_globals