zlogene 14/03/30 19:25:14 Modified: perl-module.eclass Log: Drop base.eclass (bug #497048)
Revision Changes Path 1.139 eclass/perl-module.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.139&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.139&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?r1=1.138&r2=1.139 Index: perl-module.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v retrieving revision 1.138 retrieving revision 1.139 diff -u -r1.138 -r1.139 --- perl-module.eclass 29 Dec 2013 21:37:09 -0000 1.138 +++ perl-module.eclass 30 Mar 2014 19:25:14 -0000 1.139 @@ -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 @@ 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 }
