summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2014-12-17 16:40:53 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2014-12-17 16:40:53 +0000
commitb4b0acf9b9b3cd96d1bc70fe0a883623ff55fe88 (patch)
treedbc4fce0a83dca05b264279ce3c37a41fd638f13 /eclass
parentskip automagic detection of libxkbcommon by passing --disable-xkbcommon to econf (diff)
downloadgentoo-2-b4b0acf9b9b3cd96d1bc70fe0a883623ff55fe88.tar.gz
gentoo-2-b4b0acf9b9b3cd96d1bc70fe0a883623ff55fe88.tar.bz2
gentoo-2-b4b0acf9b9b3cd96d1bc70fe0a883623ff55fe88.zip
Remove code paths that are not called anymore
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/perl-module.eclass9
2 files changed, 6 insertions, 8 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 70f8135f5bfa..6efff6217d8b 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.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.
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index e3c5c2a50a6e..762214357e28 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.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:
@@ -15,11 +15,10 @@
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"
@@ -105,7 +104,6 @@ perl-module_src_unpack() {
debug-print-function $FUNCNAME "$@"
unpacker_src_unpack
- has src_prepare ${PERL_EXPF} || perl-module_src_prepare
}
# @FUNCTION: perl-module_src_prepare
@@ -115,7 +113,6 @@ perl-module_src_unpack() {
# 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
@@ -211,8 +208,6 @@ perl-module_src_compile() {
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