diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-01-07 18:48:05 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-01-07 19:39:45 +0000 |
commit | e18277296d7f953682803f42761e50e6c447bd9d (patch) | |
tree | dd1786ad22f50d9c7c020277ec7ab84cd03a5150 /dev-libs/cygwin | |
parent | dev-util/mingw-runtime: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers... (diff) | |
download | gentoo-e18277296d7f953682803f42761e50e6c447bd9d.tar.gz gentoo-e18277296d7f953682803f42761e50e6c447bd9d.tar.bz2 gentoo-e18277296d7f953682803f42761e50e6c447bd9d.zip |
dev-libs/cygwin: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only.
Convert it to a global USE flag instead.
Mechanical ebuild rename done as:
$ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \
-i $(git grep -l headers-only)
'headers-only' flag is used by crossdev to bootstrap stage1 compiler
before libc is available.
crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230.
Bug: https://bugs.gentoo.org/642712
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-libs/cygwin')
-rw-r--r-- | dev-libs/cygwin/cygwin-1.5.25.15.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-libs/cygwin/cygwin-1.5.25.15.ebuild b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild index bc05e39d191e..e48c47fb2481 100644 --- a/dev-libs/cygwin/cygwin-1.5.25.15.ebuild +++ b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit flag-o-matic toolchain-funcs @@ -15,8 +15,8 @@ W32API_BIN="3.12-1" MY_P="${PN}-${PV%.*}-${PV##*.}" DESCRIPTION="Linux-like environment for Windows" HOMEPAGE="http://cygwin.com/" -SRC_URI="!crosscompile_opts_headers-only? ( ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}-src.tar.bz2 ) - crosscompile_opts_headers-only? ( +SRC_URI="!headers-only? ( ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}-src.tar.bz2 ) + headers-only? ( ftp://sourceware.org/pub/cygwin/release/w32api/w32api-${W32API_BIN}.tar.bz2 ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}.tar.bz2 )" @@ -24,7 +24,7 @@ SRC_URI="!crosscompile_opts_headers-only? ( ftp://sourceware.org/pub/cygwin/rele LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only" +IUSE="headers-only" RESTRICT="strip" DEPEND="" @@ -32,7 +32,7 @@ DEPEND="" S=${WORKDIR} just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } pkg_setup() { |