summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2005-07-24 13:14:53 +0000
committerMichael Cummings <mcummings@gentoo.org>2005-07-24 13:14:53 +0000
commitd7bb765a858f3b009aca94ebc40baf93eb8dba0e (patch)
tree1305202f5de23417aed47e9d1f2809124c17f939 /eclass
parentMove robustify3.patch to mirrors, bug #99961. (diff)
downloadgentoo-2-d7bb765a858f3b009aca94ebc40baf93eb8dba0e.tar.gz
gentoo-2-d7bb765a858f3b009aca94ebc40baf93eb8dba0e.tar.bz2
gentoo-2-d7bb765a858f3b009aca94ebc40baf93eb8dba0e.zip
Bug 99978 - scoping the var exports of perl info. Thanks to Georgi for noticing this.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/perl-module.eclass12
1 files changed, 9 insertions, 3 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 35250a7b19f1..ca4f1ac1635b 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.78 2005/07/19 13:10:36 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.79 2005/07/24 13:14:53 mcummings Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
# Maintained by the Perl herd <perl@gentoo.org>
@@ -189,21 +189,27 @@ perl-module_pkg_postrm() {
perlinfo() {
+ local version
eval `perl '-V:version'`
PERL_VERSION=${version}
+ local installsitearch
eval `perl '-V:installsitearch'`
SITE_ARCH=${installsitearch}
- eval `perl '-V:installsitearch'`
- SITE_LIB=${installsitearch}
+ local installsitelib
+ eval `perl '-V:installsitelib'`
+ SITE_LIB=${installsitelib}
+ local installarchlib
eval `perl '-V:installarchlib'`
ARCH_LIB=${installarchlib}
+ local installvendorlib
eval `perl '-V:installvendorlib'`
VENDOR_LIB=${installvendorlib}
+ local installvendorarch
eval `perl '-V:installvendorarch'`
VENDOR_ARCH=${installvendorarch}