# ChangeLog for eclass directory
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1465 2014/12/17 13:26:28 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1466 2014/12/17 16:40:53 dilfridge Exp $
+
+ 17 Dec 2014; Andreas K. Huettel <dilfridge@gentoo.org> perl-module.eclass:
+ Remove code paths that are not called anymore
17 Dec 2014; Manuel Rüger <mrueg@gentoo.org> kde5-functions.eclass:
Sync eclass with kde overlay.
# 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.160 2014/12/13 21:06:07 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.161 2014/12/17 16:40:53 dilfridge Exp $
# @ECLASS: perl-module.eclass
# @MAINTAINER:
inherit eutils multiprocessing unpacker
[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives
-PERL_EXPF="src_unpack src_compile src_test src_install"
+PERL_EXPF="src_unpack src_prepare src_configure src_compile src_test src_install"
case "${EAPI:-0}" in
4|5)
- PERL_EXPF+=" src_prepare src_configure"
[[ ${CATEGORY} == "perl-core" ]] && \
PERL_EXPF+=" pkg_postinst pkg_postrm"
debug-print-function $FUNCNAME "$@"
unpacker_src_unpack
- has src_prepare ${PERL_EXPF} || perl-module_src_prepare
}
# @FUNCTION: perl-module_src_prepare
# This function is to be called during the ebuild src_prepare() phase.
perl-module_src_prepare() {
debug-print-function $FUNCNAME "$@"
- has src_prepare ${PERL_EXPF} && \
[[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
debug-print "$FUNCNAME: applying user patches"
epatch_user
debug-print-function $FUNCNAME "$@"
perl_set_version
- has src_configure ${PERL_EXPF} || perl-module_src_prep
-
if [[ $(declare -p mymake 2>&-) != "declare -a mymake="* ]]; then
local mymake_local=(${mymake})
else