vapier      14/10/24 00:29:34

  Modified:             toolchain.eclass
  Log:
  centralize the gcc snapshot/prerelease warning message

Revision  Changes    Path
1.642                eclass/toolchain.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.642&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.642&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.641&r2=1.642

Index: toolchain.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
retrieving revision 1.641
retrieving revision 1.642
diff -u -r1.641 -r1.642
--- toolchain.eclass    24 Oct 2014 00:21:54 -0000      1.641
+++ toolchain.eclass    24 Oct 2014 00:29:34 -0000      1.642
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.641 2014/10/24 
00:21:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.642 2014/10/24 
00:29:34 vapier Exp $
 
 # Maintainer: Toolchain Ninjas <[email protected]>
 
@@ -1969,6 +1969,12 @@
                elog "Testsuite results have been installed into 
/usr/share/doc/${PF}/testsuite"
                echo
        fi
+
+       if [[ -n ${PRERELEASE}${SNAPSHOT} ]] ; then
+               einfo "This GCC ebuild is provided for your convenience, and 
the use"
+               einfo "of this compiler is not supported by the Gentoo 
Developers."
+               einfo "Please report bugs to upstream at 
http://gcc.gnu.org/bugzilla/";
+       fi
 }
 
 toolchain_pkg_postrm() {




Reply via email to