diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2014-12-13 20:51:23 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2014-12-13 20:51:23 +0000 |
commit | 149669e44967350da0aa5f97778c0144fae1d0fe (patch) | |
tree | 39ee9d96199317de35ec6b18514fcb24419195fd /eclass/perl-module.eclass | |
parent | Add missing test dependency, bug 523722 (diff) | |
download | gentoo-2-149669e44967350da0aa5f97778c0144fae1d0fe.tar.gz gentoo-2-149669e44967350da0aa5f97778c0144fae1d0fe.tar.bz2 gentoo-2-149669e44967350da0aa5f97778c0144fae1d0fe.zip |
Move content of perl-module_src_prep into src_configure, add deprecation warning to src_prep
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r-- | eclass/perl-module.eclass | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 12024ca60198..5070a67ceeeb 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.158 2014/12/01 20:41:08 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.159 2014/12/13 20:51:23 dilfridge Exp $ # @ECLASS: perl-module.eclass # @MAINTAINER: @@ -134,22 +134,7 @@ perl-module_src_prepare() { # This function is to be called during the ebuild src_configure() phase. perl-module_src_configure() { debug-print-function $FUNCNAME "$@" - perl-module_src_prep -} -# @FUNCTION: perl-module_src_prep -# @USAGE: perl-module_src_prep -# @DESCRIPTION: -# Configure the ebuild sources (bis). -# -# This function is still around for historical reasons -# and will be soon deprecated. -# -# Please use the function above instead, perl-module_src_configure(). -# -# TODO: Move code to perl-module_src_configure(). -perl-module_src_prep() { - debug-print-function $FUNCNAME "$@" [[ ${SRC_PREP} = yes ]] && return 0 SRC_PREP="yes" @@ -202,6 +187,21 @@ perl-module_src_prep() { fi } +# @FUNCTION: perl-module_src_prep +# @USAGE: perl-module_src_prep +# @DESCRIPTION: +# Configure the ebuild sources (bis). +# +# This function is still around for historical reasons +# and will be soon deprecated. +# +# Please use the function above instead, perl-module_src_configure(). +perl-module_src_prep() { + debug-print-function $FUNCNAME "$@" + eqawarn "perl-modules.eclass: perl-module_src_prep is deprecated and will be removed. Please use perl-module_src_configure instead." + perl-module_src_configure +} + # @FUNCTION: perl-module_src_compile # @USAGE: perl-module_src_compile # @DESCRIPTION: |