1 |
commit: d0bf3364d7179e707a55f502c2e760a2daafb5db |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 7 18:42:56 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 7 19:39:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bf3364 |
7 |
|
8 |
sys-libs/musl: 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 |
sys-libs/musl/musl-1.1.18.ebuild | 6 +++--- |
26 |
sys-libs/musl/musl-9999.ebuild | 6 +++--- |
27 |
2 files changed, 6 insertions(+), 6 deletions(-) |
28 |
|
29 |
diff --git a/sys-libs/musl/musl-1.1.18.ebuild b/sys-libs/musl/musl-1.1.18.ebuild |
30 |
index a36df0d0e87..e36e2199458 100644 |
31 |
--- a/sys-libs/musl/musl-1.1.18.ebuild |
32 |
+++ b/sys-libs/musl/musl-1.1.18.ebuild |
33 |
@@ -1,4 +1,4 @@ |
34 |
-# Copyright 1999-2017 Gentoo Foundation |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
|
38 |
EAPI=6 |
39 |
@@ -32,7 +32,7 @@ DESCRIPTION="Light, fast and simple C library focused on standards-conformance a |
40 |
HOMEPAGE="http://www.musl-libc.org/" |
41 |
LICENSE="MIT LGPL-2 GPL-2" |
42 |
SLOT="0" |
43 |
-IUSE="crosscompile_opts_headers-only" |
44 |
+IUSE="headers-only" |
45 |
|
46 |
QA_SONAME="/usr/lib/libc.so" |
47 |
QA_DT_NEEDED="/usr/lib/libc.so" |
48 |
@@ -42,7 +42,7 @@ is_crosscompile() { |
49 |
} |
50 |
|
51 |
just_headers() { |
52 |
- use crosscompile_opts_headers-only && is_crosscompile |
53 |
+ use headers-only && is_crosscompile |
54 |
} |
55 |
|
56 |
pkg_setup() { |
57 |
|
58 |
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild |
59 |
index 9e0e184d656..991afd750a8 100644 |
60 |
--- a/sys-libs/musl/musl-9999.ebuild |
61 |
+++ b/sys-libs/musl/musl-9999.ebuild |
62 |
@@ -1,4 +1,4 @@ |
63 |
-# Copyright 1999-2017 Gentoo Foundation |
64 |
+# Copyright 1999-2018 Gentoo Foundation |
65 |
# Distributed under the terms of the GNU General Public License v2 |
66 |
|
67 |
EAPI=6 |
68 |
@@ -32,7 +32,7 @@ DESCRIPTION="Light, fast and simple C library focused on standards-conformance a |
69 |
HOMEPAGE="http://www.musl-libc.org/" |
70 |
LICENSE="MIT LGPL-2 GPL-2" |
71 |
SLOT="0" |
72 |
-IUSE="crosscompile_opts_headers-only" |
73 |
+IUSE="headers-only" |
74 |
|
75 |
QA_SONAME="/usr/lib/libc.so" |
76 |
QA_DT_NEEDED="/usr/lib/libc.so" |
77 |
@@ -42,7 +42,7 @@ is_crosscompile() { |
78 |
} |
79 |
|
80 |
just_headers() { |
81 |
- use crosscompile_opts_headers-only && is_crosscompile |
82 |
+ use headers-only && is_crosscompile |
83 |
} |
84 |
|
85 |
pkg_setup() { |