summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-09-02 00:20:13 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-09-02 00:20:13 +0000
commit6fd169f568c1ff5bdae034fda6be17213a16172e (patch)
treefeaea70e8539f0a52f06b78e0e19f8f0a7e3d4e5 /eclass
parentupdate arm targets in test (diff)
downloadhistorical-6fd169f568c1ff5bdae034fda6be17213a16172e.tar.gz
historical-6fd169f568c1ff5bdae034fda6be17213a16172e.tar.bz2
historical-6fd169f568c1ff5bdae034fda6be17213a16172e.zip
autopatch inclusion from base.eclass. All hail PATCHES.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/perl-module.eclass14
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