dev-util/mingw64-runtime: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 7 Jan 2018 18:46:40 +0000 (18:46 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 7 Jan 2018 19:39:45 +0000 (19:39 +0000)
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

12 files changed:
dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild
dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild
dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild
dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild
dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild
dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild
dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild
dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild
dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild
dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild
dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild
dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild

index ce8f87cddc9cf7b4874f0035423485ab5af48eab..4397725c87a98e0d01c58baf0d7e91bf8912d601 100644 (file)
@@ -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() {
index ce8f87cddc9cf7b4874f0035423485ab5af48eab..4397725c87a98e0d01c58baf0d7e91bf8912d601 100644 (file)
@@ -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() {
index ce8f87cddc9cf7b4874f0035423485ab5af48eab..4397725c87a98e0d01c58baf0d7e91bf8912d601 100644 (file)
@@ -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() {
index b298a1a53043c2227db0e8a0cd3b1920be32ab78..3bb7305cf0f7281b844e1d0fa738526cf3ce21ff 100644 (file)
@@ -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
index 2fc6dd78d6732056974003c743f33cf3da45d1d4..f279453e0e464f369236cbe59556d403900e1615 100644 (file)
@@ -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
index 8b0d38b204cae1a1dd3fdc1db5eb332955a4dbcc..2a6523281428a7adbe46f4657c6e3dec01c00287 100644 (file)
@@ -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
index 408aa8d8e7ba51870afc06e25ce166d1a657e95b..d013a17c428aa7c1e72721aafa1a57d3c6970414 100644 (file)
@@ -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
index 534091fe6549ae7db3f9b1ea1640d71208501d5c..25df5eae738cdda4a8b2c28cfe803c5d3c0c721e 100644 (file)
@@ -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
index 0edd83c00354b5593bf25d9fc5afc42da872efcc..5141174deb4451a337dc38ba8094575af999658a 100644 (file)
@@ -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
index 408aa8d8e7ba51870afc06e25ce166d1a657e95b..d013a17c428aa7c1e72721aafa1a57d3c6970414 100644 (file)
@@ -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
index 1b9f05639b8dc6824499ab401ea492e57689e147..0dcbcfe06eea7089de6c44c44ad559cb0028aea5 100644 (file)
@@ -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
index a21054499a0cddb5edab6fe948570aa30bf8ae67..225bba7d7322e0bf0bef2e88f1b870e4cae46d42 100644 (file)
@@ -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