summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2002-09-14 21:32:20 +0000
committerMichael Cummings <mcummings@gentoo.org>2002-09-14 21:32:20 +0000
commitdae6fbb2a5d2346d1c0af5d3aafbd3d472009165 (patch)
treeb4ec2f29d8e1dad48c8ebe9957ee7c253a312276 /eclass/perl-module.eclass
parentCorrected syntax - email for details (diff)
downloadgentoo-2-dae6fbb2a5d2346d1c0af5d3aafbd3d472009165.tar.gz
gentoo-2-dae6fbb2a5d2346d1c0af5d3aafbd3d472009165.tar.bz2
gentoo-2-dae6fbb2a5d2346d1c0af5d3aafbd3d472009165.zip
Corrected depend lines for forcing makemaker install - this will fix
many a bug
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 500099102ac8..548a6584beaa 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -1,7 +1,7 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Author: Seemant Kulleen <seemant@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.21 2002/09/09 21:51:14 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.22 2002/09/14 21:32:20 mcummings Exp $
# The perl-module eclass is designed to allow easier installation of perl
# modules, and their incorporation into the Gentoo Linux system.
@@ -16,10 +16,10 @@ EXPORT_FUNCTIONS src_compile src_install src_test
eval `perl '-V:version'`
if [ ${version} == '5.6.1' ];
then
- DEPEND=">=sys-devel/perl-5 \
+ DEPEND="${DEPEND} >=sys-devel/perl-5 \
dev-perl/ExtUtils-MakeMaker"
else
- DEPEND=">=sys-devel/perl-5"
+ DEPEND="${DEPEND} >=sys-devel/perl-5"
fi
@@ -28,7 +28,6 @@ SRC_PREP="no"
perl-module_src_prep() {
SRC_PREP="yes"
- eval `perl '-V:version'`
perl Makefile.PL ${myconf} \
PREFIX=${D}/usr
}