From e18277296d7f953682803f42761e50e6c447bd9d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 7 Jan 2018 18:48:05 +0000 Subject: 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 --- dev-libs/cygwin/cygwin-1.5.25.15.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dev-libs') diff --git a/dev-libs/cygwin/cygwin-1.5.25.15.ebuild b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild index bc05e39d191..e48c47fb248 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() { -- cgit v1.2.1