diff options
author | Michael Cummings <mcummings@gentoo.org> | 2002-09-17 00:54:55 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2002-09-17 00:54:55 +0000 |
commit | 2fa4c81f3af612459c31f2e33ff50dc629251277 (patch) | |
tree | 15ee3b7fcf53bdf7c51c9b165e6a4f3d21533d27 /eclass/perl-module.eclass | |
parent | Added PREFIX=${D}/usr to work for perl (diff) | |
download | gentoo-2-2fa4c81f3af612459c31f2e33ff50dc629251277.tar.gz gentoo-2-2fa4c81f3af612459c31f2e33ff50dc629251277.tar.bz2 gentoo-2-2fa4c81f3af612459c31f2e33ff50dc629251277.zip |
Removed ambiguity of version checking - made MakeMaker required for all
perl versions since it does no harm to 5.8, and is needed for 5.6.1 to
function properly
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r-- | eclass/perl-module.eclass | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index fa3a7f00f69d..b04258f1c241 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.23 2002/09/15 13:18:23 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.24 2002/09/17 00:54:55 mcummings Exp $ # The perl-module eclass is designed to allow easier installation of perl # modules, and their incorporation into the Gentoo Linux system. @@ -13,15 +13,8 @@ INHERITED="$INHERITED $ECLASS" EXPORT_FUNCTIONS src_compile src_install src_test -eval `perl '-V:version'` - if [ ${version} == '5.6.1' ]; - then - DEPEND="${DEPEND} >=sys-devel/perl-5 \ +DEPEND="${DEPEND} >=sys-devel/perl-5 =dev-perl/ExtUtils-MakeMaker-6.03-r1" - else - DEPEND="${DEPEND} >=sys-devel/perl-5" - fi - SRC_PREP="no" |