diff options
author | Michael Cummings <mcummings@gentoo.org> | 2004-04-02 10:22:50 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2004-04-02 10:22:50 +0000 |
commit | b097b8c91d67a9d8ecac1e38b21b81401f1f2730 (patch) | |
tree | 0212221fab270af2da4d250297edd60a81e50275 /eclass/perl-module.eclass | |
parent | Initial import. Fixes #46413. (diff) | |
download | historical-b097b8c91d67a9d8ecac1e38b21b81401f1f2730.tar.gz historical-b097b8c91d67a9d8ecac1e38b21b81401f1f2730.tar.bz2 historical-b097b8c91d67a9d8ecac1e38b21b81401f1f2730.zip |
Should fix Mr.Bones/Carpaski's concerns about how perl vars are generated during cacheing
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r-- | eclass/perl-module.eclass | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index d2e6c15f99d5..e8eadb219082 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.57 2004/03/05 10:30:33 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.58 2004/04/02 10:22:50 mcummings Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> # Maintained by the Perl herd <perl@gentoo.org> @@ -27,23 +27,6 @@ ARCH_LIB="" POD_DIR="" MMSIXELEVEN="" -getperlinfo() { - eval `perl '-V:version'` - PERL_VERSION=${version} - eval `perl '-V:installsitearch'` - SITE_ARCH=${installsitearch} - eval `perl '-V:installarchlib'` - ARCH_LIB=${installarchlib} - eval `perl '-V:installarchlib'` - ARCH_LIB=${installarchlib} - eval `perl '-V:installsitearch'` - SITE_LIB=${installsitearch} -# handling of DESTDIR changed in makemaker 6.11 - MMSIXELEVEN=`perl -e 'use ExtUtils::MakeMaker; print( $ExtUtils::MakeMaker::VERSION ge "6.11" )'` -} - -getperlinfo - perl-module_src_prep() { SRC_PREP="yes" if [ "${style}" == "builder" ]; then @@ -184,6 +167,18 @@ perlinfo() { then POD_DIR="/usr/share/perl/gentoo-pods/${version}" fi + eval `perl '-V:version'` + PERL_VERSION=${version} + eval `perl '-V:installsitearch'` + SITE_ARCH=${installsitearch} + eval `perl '-V:installarchlib'` + ARCH_LIB=${installarchlib} + eval `perl '-V:installarchlib'` + ARCH_LIB=${installarchlib} + eval `perl '-V:installsitearch'` + SITE_LIB=${installsitearch} +# handling of DESTDIR changed in makemaker 6.11 + MMSIXELEVEN=`perl -e 'use ExtUtils::MakeMaker; print( $ExtUtils::MakeMaker::VERSION ge "6.11" )'` } |