1 |
commit: e18277296d7f953682803f42761e50e6c447bd9d |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 7 18:48:05 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=e1827729 |
7 |
|
8 |
dev-libs/cygwin: 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-libs/cygwin/cygwin-1.5.25.15.ebuild | 10 +++++----- |
26 |
1 file changed, 5 insertions(+), 5 deletions(-) |
27 |
|
28 |
diff --git a/dev-libs/cygwin/cygwin-1.5.25.15.ebuild b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild |
29 |
index bc05e39d191..e48c47fb248 100644 |
30 |
--- a/dev-libs/cygwin/cygwin-1.5.25.15.ebuild |
31 |
+++ b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild |
32 |
@@ -1,4 +1,4 @@ |
33 |
-# Copyright 1999-2012 Gentoo Foundation |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
|
37 |
inherit flag-o-matic toolchain-funcs |
38 |
@@ -15,8 +15,8 @@ W32API_BIN="3.12-1" |
39 |
MY_P="${PN}-${PV%.*}-${PV##*.}" |
40 |
DESCRIPTION="Linux-like environment for Windows" |
41 |
HOMEPAGE="http://cygwin.com/" |
42 |
-SRC_URI="!crosscompile_opts_headers-only? ( ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}-src.tar.bz2 ) |
43 |
- crosscompile_opts_headers-only? ( |
44 |
+SRC_URI="!headers-only? ( ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}-src.tar.bz2 ) |
45 |
+ headers-only? ( |
46 |
ftp://sourceware.org/pub/cygwin/release/w32api/w32api-${W32API_BIN}.tar.bz2 |
47 |
ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}.tar.bz2 |
48 |
)" |
49 |
@@ -24,7 +24,7 @@ SRC_URI="!crosscompile_opts_headers-only? ( ftp://sourceware.org/pub/cygwin/rele |
50 |
LICENSE="GPL-2" |
51 |
SLOT="0" |
52 |
KEYWORDS="~amd64 ~x86" |
53 |
-IUSE="crosscompile_opts_headers-only" |
54 |
+IUSE="headers-only" |
55 |
RESTRICT="strip" |
56 |
|
57 |
DEPEND="" |
58 |
@@ -32,7 +32,7 @@ DEPEND="" |
59 |
S=${WORKDIR} |
60 |
|
61 |
just_headers() { |
62 |
- use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] |
63 |
+ use headers-only && [[ ${CHOST} != ${CTARGET} ]] |
64 |
} |
65 |
|
66 |
pkg_setup() { |