diff options
author | 2006-09-02 00:20:13 +0000 | |
---|---|---|
committer | 2006-09-02 00:20:13 +0000 | |
commit | 0249ddc0afc23343d3f9f7cb2126a620ca0cc009 (patch) | |
tree | b0a5f33821a5ed493d9762822fa44d9c0c43eff6 | |
parent | update arm targets in test (diff) | |
download | gentoo-2-0249ddc0afc23343d3f9f7cb2126a620ca0cc009.tar.gz gentoo-2-0249ddc0afc23343d3f9f7cb2126a620ca0cc009.tar.bz2 gentoo-2-0249ddc0afc23343d3f9f7cb2126a620ca0cc009.zip |
autopatch inclusion from base.eclass. All hail PATCHES.
-rw-r--r-- | eclass/perl-module.eclass | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index d395c24bfe15..c847cd50c039 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.101 2006/08/28 20:22:20 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.102 2006/09/02 00:20:13 mcummings Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> # Maintained by the Perl herd <perl@gentoo.org> @@ -8,8 +8,9 @@ # The perl-module eclass is designed to allow easier installation of perl # modules, and their incorporation into the Gentoo Linux system. +inherit base -EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm src_compile src_install src_test +EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm src_compile src_install src_test src_unpack # 2005.04.28 mcummings # Mounting problems with src_test functions has forced me to make the @@ -95,6 +96,15 @@ POD_DIR="" BUILDER_VER="" pm_echovar="" +perl-module_src_unpack() { + if [[ -n ${PATCHES} ]]; then + base_src_unpack unpack + base_src_unpack autopatch + else + base_src_unpack unpack + fi +} + perl-module_src_prep() { perlinfo |