summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2014-03-30 19:25:14 +0000
committerMikle Kolyada <zlogene@gentoo.org>2014-03-30 19:25:14 +0000
commitf640e756d538810cdab656f18af9cb122d06b52e (patch)
tree58c5ed2f9f0766ec7949f15c47005348e1192767 /eclass/perl-module.eclass
parentAdd unit file (#502346 by neko259) (diff)
downloadgentoo-2-f640e756d538810cdab656f18af9cb122d06b52e.tar.gz
gentoo-2-f640e756d538810cdab656f18af9cb122d06b52e.tar.bz2
gentoo-2-f640e756d538810cdab656f18af9cb122d06b52e.zip
Drop base.eclass (bug #497048)
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 4192c7a370a5..321d18a64eff 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.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/perl-module.eclass,v 1.138 2013/12/29 21:37:09 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.139 2014/03/30 19:25:14 zlogene Exp $
# @ECLASS: perl-module.eclass
# @MAINTAINER:
@@ -12,7 +12,7 @@
# The perl-module eclass is designed to allow easier installation of perl
# modules, and their incorporation into the Gentoo Linux system.
-inherit eutils base multiprocessing
+inherit eutils multiprocessing unpacker
[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives
PERL_EXPF="src_unpack src_compile src_test src_install"
@@ -87,13 +87,16 @@ perlinfo_done=false
perl-module_src_unpack() {
debug-print-function $FUNCNAME "$@"
- base_src_unpack
+ unpacker_src_unpack
has src_prepare ${PERL_EXPF} || perl-module_src_prepare
}
perl-module_src_prepare() {
debug-print-function $FUNCNAME "$@"
- has src_prepare ${PERL_EXPF} && base_src_prepare
+ has src_prepare ${PERL_EXPF} && \
+ [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
+ debug-print "$FUNCNAME: applying user patches"
+ epatch_user
perl_fix_osx_extra
esvn_clean
}