commit:     f96ff4fc5776dc6f61da50302a18c96bdeae5710
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 14 22:44:59 2017 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Mar 14 22:44:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/toolchain.git/commit/?id=f96ff4fc

gcc: drop USE=offline flag

If people want this, they can set through EVCS_OFFLINE or other
standard eclass env vars through per-package env settings.

 sys-devel/gcc/gcc-4.10.0_pre9999.ebuild | 6 +-----
 sys-devel/gcc/gcc-4.8.4_pre9999.ebuild  | 6 +-----
 sys-devel/gcc/gcc-4.9.1_pre9999.ebuild  | 6 +-----
 sys-devel/gcc/metadata.xml              | 1 -
 4 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/sys-devel/gcc/gcc-4.10.0_pre9999.ebuild 
b/sys-devel/gcc/gcc-4.10.0_pre9999.ebuild
index 6b82425..1427ade 100644
--- a/sys-devel/gcc/gcc-4.10.0_pre9999.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_pre9999.ebuild
@@ -11,7 +11,7 @@ inherit toolchain
 KEYWORDS=""
 
 SLOT="${GCC_BRANCH_VER}-vcs"
-IUSE="nobootstrap offline"
+IUSE="nobootstrap"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
@@ -22,10 +22,6 @@ if [[ ${CATEGORY} != cross-* ]] ; then
 fi
 
 src_unpack() {
-       # use the offline USE flag to prevent the ebuild from trying to update 
from
-       # the repo.  the current sources will be used instead.
-       use offline && EVCS_OFFLINE="yes"
-
        toolchain_src_unpack
 
        echo "commit ${EGIT_VERSION}" > "${S}"/gcc/REVISION

diff --git a/sys-devel/gcc/gcc-4.8.4_pre9999.ebuild 
b/sys-devel/gcc/gcc-4.8.4_pre9999.ebuild
index fa8e0be..b86aae2 100644
--- a/sys-devel/gcc/gcc-4.8.4_pre9999.ebuild
+++ b/sys-devel/gcc/gcc-4.8.4_pre9999.ebuild
@@ -10,7 +10,7 @@ inherit toolchain
 KEYWORDS=""
 
 SLOT="${GCC_BRANCH_VER}-vcs"
-IUSE="nobootstrap offline"
+IUSE="nobootstrap"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
@@ -21,10 +21,6 @@ if [[ ${CATEGORY} != cross-* ]] ; then
 fi
 
 src_unpack() {
-       # use the offline USE flag to prevent the ebuild from trying to update 
from
-       # the repo.  the current sources will be used instead.
-       use offline && EVCS_OFFLINE="yes"
-
        toolchain_src_unpack
 
        echo "commit ${EGIT_VERSION}" > "${S}"/gcc/REVISION

diff --git a/sys-devel/gcc/gcc-4.9.1_pre9999.ebuild 
b/sys-devel/gcc/gcc-4.9.1_pre9999.ebuild
index fa8e0be..b86aae2 100644
--- a/sys-devel/gcc/gcc-4.9.1_pre9999.ebuild
+++ b/sys-devel/gcc/gcc-4.9.1_pre9999.ebuild
@@ -10,7 +10,7 @@ inherit toolchain
 KEYWORDS=""
 
 SLOT="${GCC_BRANCH_VER}-vcs"
-IUSE="nobootstrap offline"
+IUSE="nobootstrap"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
@@ -21,10 +21,6 @@ if [[ ${CATEGORY} != cross-* ]] ; then
 fi
 
 src_unpack() {
-       # use the offline USE flag to prevent the ebuild from trying to update 
from
-       # the repo.  the current sources will be used instead.
-       use offline && EVCS_OFFLINE="yes"
-
        toolchain_src_unpack
 
        echo "commit ${EGIT_VERSION}" > "${S}"/gcc/REVISION

diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml
index 71974de..80f6ecd 100644
--- a/sys-devel/gcc/metadata.xml
+++ b/sys-devel/gcc/metadata.xml
@@ -26,7 +26,6 @@
     <flag name="objc++">Build support for the Objective C++ language</flag>
     <flag name="objc-gc">Build support for the Objective C code language 
Garbage
       Collector</flag>
-    <flag name="offline">Build with current checkout</flag>
     <flag name="regression-test">Run the testsuite and install the results 
(requires FEATURES=test)</flag>
     <flag name="sanitize">Build support for various sanitizer functions 
(ASAN/TSAN/etc...)</flag>
     <flag name="ssp">Build packages with stack smashing protector on by 
default</flag>

Reply via email to