From 67ec9ae5fc78bc1ee31fa38caa92bb89bcf33c68 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 7 Jan 2018 18:46:40 +0000 Subject: [PATCH] dev-util/mingw64-runtime: 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-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild | 6 +++--- dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild | 6 +++--- 12 files changed, 36 insertions(+), 36 deletions(-) diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild index ce8f87cddc9cf..4397725c87a98 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -20,7 +20,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl" +IUSE="headers-only idl" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -29,7 +29,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } pkg_setup() { diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild index ce8f87cddc9cf..4397725c87a98 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -20,7 +20,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl" +IUSE="headers-only idl" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -29,7 +29,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } pkg_setup() { diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild index ce8f87cddc9cf..4397725c87a98 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -20,7 +20,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl" +IUSE="headers-only idl" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -29,7 +29,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } pkg_setup() { diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild index b298a1a53043c..3bb7305cf0f72 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -31,7 +31,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild index 2fc6dd78d6732..f279453e0e464 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -31,7 +31,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild index 8b0d38b204cae..2a6523281428a 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -31,7 +31,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild index 408aa8d8e7ba5..d013a17c428aa 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -36,7 +36,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild index 534091fe6549a..25df5eae738cd 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -37,7 +37,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild index 0edd83c00354b..5141174deb445 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -38,7 +38,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild index 408aa8d8e7ba5..d013a17c428aa 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -36,7 +36,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild index 1b9f05639b8dc..0dcbcfe06eea7 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -35,7 +35,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild index a21054499a0cd..225bba7d7322e 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="crosscompile_opts_headers-only idl libraries tools" +IUSE="headers-only idl libraries tools" RESTRICT="strip" S="${WORKDIR}/mingw-w64-v${PV}" @@ -35,7 +35,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] + use headers-only && [[ ${CHOST} != ${CTARGET} ]] } crt_with() { just_headers && echo --without-$1 || echo --with-$1