Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/w32api/
Date: Sun, 07 Jan 2018 19:40:00
Message-Id: 1515353985.84524c103499adddc67252e5ddfda4effe3a6836.slyfox@gentoo
1 commit: 84524c103499adddc67252e5ddfda4effe3a6836
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 18:45:41 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 7 19:39:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84524c10
7
8 dev-util/w32api: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
9
10 CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only.
11 Convert it to a global USE flag instead.
12
13 Mechanical ebuild rename done as:
14 $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \
15 -i $(git grep -l headers-only)
16
17 'headers-only' flag is used by crossdev to bootstrap stage1 compiler
18 before libc is available.
19
20 crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230.
21
22 Bug: https://bugs.gentoo.org/642712
23 Package-Manager: Portage-2.3.19, Repoman-2.3.6
24
25 dev-util/w32api/w32api-3.17.2.ebuild | 6 +++---
26 dev-util/w32api/w32api-4.0.3.1.ebuild | 6 +++---
27 2 files changed, 6 insertions(+), 6 deletions(-)
28
29 diff --git a/dev-util/w32api/w32api-3.17.2.ebuild b/dev-util/w32api/w32api-3.17.2.ebuild
30 index c04ebdcfad7..e718e475f22 100644
31 --- a/dev-util/w32api/w32api-3.17.2.ebuild
32 +++ b/dev-util/w32api/w32api-3.17.2.ebuild
33 @@ -1,4 +1,4 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 +# Copyright 1999-2018 Gentoo Foundation
36 # Distributed under the terms of the GNU General Public License v2
37
38 export CBUILD=${CBUILD:-${CHOST}}
39 @@ -20,7 +20,7 @@ SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.lzma"
40 LICENSE="BSD"
41 SLOT="0"
42 KEYWORDS="amd64 ~ppc ~sparc x86"
43 -IUSE="crosscompile_opts_headers-only"
44 +IUSE="headers-only"
45 RESTRICT="strip"
46
47 DEPEND="app-arch/xz-utils"
48 @@ -29,7 +29,7 @@ RDEPEND=""
49 S=${WORKDIR}/${MY_P}
50
51 just_headers() {
52 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
53 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
54 }
55
56 pkg_setup() {
57
58 diff --git a/dev-util/w32api/w32api-4.0.3.1.ebuild b/dev-util/w32api/w32api-4.0.3.1.ebuild
59 index 0d8deb3895a..26a1f1cb5bf 100644
60 --- a/dev-util/w32api/w32api-4.0.3.1.ebuild
61 +++ b/dev-util/w32api/w32api-4.0.3.1.ebuild
62 @@ -1,4 +1,4 @@
63 -# Copyright 1999-2015 Gentoo Foundation
64 +# Copyright 1999-2018 Gentoo Foundation
65 # Distributed under the terms of the GNU General Public License v2
66
67 EAPI="4"
68 @@ -23,7 +23,7 @@ LICENSE="BSD"
69 SLOT="0"
70 # Collides with mingw-runtime-4.x
71 #KEYWORDS="~amd64 ~ppc ~sparc ~x86"
72 -IUSE="crosscompile_opts_headers-only"
73 +IUSE="headers-only"
74 RESTRICT="strip"
75
76 DEPEND="app-arch/xz-utils"
77 @@ -32,7 +32,7 @@ RDEPEND=""
78 S=${WORKDIR}/${MY_P/-m/.m}-src
79
80 just_headers() {
81 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
82 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
83 }
84
85 pkg_setup() {