diff options
author | Chris Reffett <creffett@gentoo.org> | 2013-06-14 21:13:43 +0000 |
---|---|---|
committer | Chris Reffett <creffett@gentoo.org> | 2013-06-14 21:13:43 +0000 |
commit | 7a42e0a5d5ca0a06e1cab0cfffcef6849ea5abf9 (patch) | |
tree | 8e93ee824bf56193f25408ff0f6be57fef140b55 /eclass/cmake-utils.eclass | |
parent | Version bump (diff) | |
download | gentoo-2-7a42e0a5d5ca0a06e1cab0cfffcef6849ea5abf9.tar.gz gentoo-2-7a42e0a5d5ca0a06e1cab0cfffcef6849ea5abf9.tar.bz2 gentoo-2-7a42e0a5d5ca0a06e1cab0cfffcef6849ea5abf9.zip |
Print out CATEGORY/PN and eclass name in cmake-utils deprecation warning, change from ewarn to eqawarn.
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index ce64d9e5d8b6..88dcced884c2 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.95 2013/06/13 21:16:53 creffett Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.96 2013/06/14 21:13:43 creffett Exp $ # @ECLASS: cmake-utils.eclass # @MAINTAINER: @@ -65,10 +65,11 @@ inherit toolchain-funcs multilib flag-o-matic base CMAKE_EXPF="src_compile src_test src_install" case ${EAPI:-0} in 2|3|4|5) CMAKE_EXPF+=" src_prepare src_configure" ;; - 1|0) ewarn "EAPI 0 and 1 support is now deprecated." - ewarn "If you are the package maintainer, please" - ewarn "update this package to a newer EAPI." - ewarn "Support for EAPI 0-1 will be dropped at the beginning of July." + 1|0) eqawarn "${CATEGORY}/${PF}: EAPI 0 and 1 support is now deprecated." + eqawarn "If you are the package maintainer, please" + eqawarn "update this package to a newer EAPI." + eqawarn "Support for EAPI 0-1 for 'cmake-utils.eclass'" + eqawarn "will be dropped at the beginning of July." ;; *) die "Unknown EAPI, Bug eclass maintainers." ;; |