summaryrefslogtreecommitdiff
path: root/eclass
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
commitce8c5c87484e8007e99402b74ed45a68982c5dc0 (patch)
treefcef1275bd73787d5b0da83b0cd3a592ba06d992 /eclass
parentAdd unit file (#502346 by neko259) (diff)
downloadhistorical-ce8c5c87484e8007e99402b74ed45a68982c5dc0.tar.gz
historical-ce8c5c87484e8007e99402b74ed45a68982c5dc0.tar.bz2
historical-ce8c5c87484e8007e99402b74ed45a68982c5dc0.zip
Drop base.eclass (bug #497048)
Diffstat (limited to '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
}