summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2014-11-19 19:39:47 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2014-11-19 19:39:47 +0000
commit8cea91c9cbf04485390de1baa71cfe22d0a6e8b7 (patch)
tree4822016ef1ea2032c5e9ca11f44b1b5366945119
parentReplace perl-module_pkg_setup with perl_set_version (diff)
downloadgentoo-2-8cea91c9cbf04485390de1baa71cfe22d0a6e8b7.tar.gz
gentoo-2-8cea91c9cbf04485390de1baa71cfe22d0a6e8b7.tar.bz2
gentoo-2-8cea91c9cbf04485390de1baa71cfe22d0a6e8b7.zip
Make calling perl-module_pkg_setup trigger a real warning
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/perl-module.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index be9a7a68d59c..df85bf39a423 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1429 2014/11/18 23:31:30 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1430 2014/11/19 19:39:47 dilfridge Exp $
+
+ 19 Nov 2014; Andreas K. Huettel <dilfridge@gentoo.org> perl-module.eclass:
+ Make calling perl-module_pkg_setup trigger a real warning
18 Nov 2014; Andreas K. Huettel <dilfridge@gentoo.org> perl-module.eclass:
Deprecate perl-module_pkg_setup and perl-module_pkg_preinst
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 990b1ab5df44..113bbd8bff23 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -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/perl-module.eclass,v 1.153 2014/11/18 23:31:30 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.154 2014/11/19 19:39:47 dilfridge Exp $
# @ECLASS: perl-module.eclass
# @MAINTAINER:
@@ -323,7 +323,7 @@ perl-module_src_install() {
# Deprecated, to be removed. Where it is called, place a call to perl_set_version instead.
perl-module_pkg_setup() {
debug-print-function $FUNCNAME "$@"
- eqawarn "perl-modules.eclass: perl-module_pkg_setup is deprecated and will be removed. Please use perl_set_version instead."
+ ewarn "perl-modules.eclass: perl-module_pkg_setup is deprecated and will be removed. Please use perl_set_version instead."
perl_set_version
}