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/mingw-runtime/
Date: Sun, 07 Jan 2018 19:40:01
Message-Id: 1515353985.d4ea3345c8720019a14499df396122fb62b45e77.slyfox@gentoo
1 commit: d4ea3345c8720019a14499df396122fb62b45e77
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 18:47:15 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=d4ea3345
7
8 dev-util/mingw-runtime: 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/mingw-runtime/mingw-runtime-3.18.ebuild | 6 +++---
26 dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild | 6 +++---
27 dev-util/mingw-runtime/mingw-runtime-3.20.ebuild | 6 +++---
28 dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild | 6 +++---
29 4 files changed, 12 insertions(+), 12 deletions(-)
30
31 diff --git a/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild
32 index fb7b3aaaadb..9a9542756fc 100644
33 --- a/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild
34 +++ b/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild
35 @@ -1,4 +1,4 @@
36 -# Copyright 1999-2015 Gentoo Foundation
37 +# Copyright 1999-2018 Gentoo Foundation
38 # Distributed under the terms of the GNU General Public License v2
39
40 export CBUILD=${CBUILD:-${CHOST}}
41 @@ -19,7 +19,7 @@ SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.gz"
42 LICENSE="BSD"
43 SLOT="0"
44 KEYWORDS="amd64 ~ppc ~sparc x86"
45 -IUSE="crosscompile_opts_headers-only"
46 +IUSE="headers-only"
47 RESTRICT="strip"
48
49 S=${WORKDIR}/${MY_P}
50 @@ -28,7 +28,7 @@ is_crosscompile() {
51 [[ ${CHOST} != ${CTARGET} ]]
52 }
53 just_headers() {
54 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
55 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
56 }
57
58 pkg_setup() {
59
60 diff --git a/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild
61 index 21f0e6d6c3b..42f4f713402 100644
62 --- a/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild
63 +++ b/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild
64 @@ -1,4 +1,4 @@
65 -# Copyright 1999-2015 Gentoo Foundation
66 +# Copyright 1999-2018 Gentoo Foundation
67 # Distributed under the terms of the GNU General Public License v2
68
69 EAPI="4"
70 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.lzma"
71 LICENSE="BSD"
72 SLOT="0"
73 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
74 -IUSE="crosscompile_opts_headers-only"
75 +IUSE="headers-only"
76 RESTRICT="strip"
77
78 DEPEND="app-arch/xz-utils"
79 @@ -33,7 +33,7 @@ is_crosscompile() {
80 [[ ${CHOST} != ${CTARGET} ]]
81 }
82 just_headers() {
83 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
84 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
85 }
86
87 pkg_setup() {
88
89 diff --git a/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild
90 index d456e763daa..469eac6b9ff 100644
91 --- a/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild
92 +++ b/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild
93 @@ -1,4 +1,4 @@
94 -# Copyright 1999-2015 Gentoo Foundation
95 +# Copyright 1999-2018 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97
98 EAPI="4"
99 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.gz"
100 LICENSE="BSD"
101 SLOT="0"
102 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
103 -IUSE="crosscompile_opts_headers-only"
104 +IUSE="headers-only"
105 RESTRICT="strip"
106
107 S=${WORKDIR}/${MY_P}
108 @@ -31,7 +31,7 @@ is_crosscompile() {
109 [[ ${CHOST} != ${CTARGET} ]]
110 }
111 just_headers() {
112 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
113 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
114 }
115
116 pkg_setup() {
117
118 diff --git a/dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild b/dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild
119 index 29cc5a87519..0a13e7773d8 100644
120 --- a/dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild
121 +++ b/dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild
122 @@ -1,4 +1,4 @@
123 -# Copyright 1999-2015 Gentoo Foundation
124 +# Copyright 1999-2018 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126
127 EAPI="4"
128 @@ -23,7 +23,7 @@ LICENSE="BSD"
129 SLOT="0"
130 # Collides with w32api-4.x
131 #KEYWORDS="~amd64 ~ppc ~sparc ~x86"
132 -IUSE="crosscompile_opts_headers-only"
133 +IUSE="headers-only"
134 RESTRICT="strip"
135
136 DEPEND="app-arch/xz-utils"
137 @@ -35,7 +35,7 @@ is_crosscompile() {
138 [[ ${CHOST} != ${CTARGET} ]]
139 }
140 just_headers() {
141 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
142 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
143 }
144
145 pkg_setup() {