From 9aaabdae918b754838f3f92f9e1052f0d1924211 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Sun, 24 Jul 2005 13:14:53 +0000 Subject: Bug 99978 - scoping the var exports of perl info. Thanks to Georgi for noticing this. --- eclass/perl-module.eclass | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'eclass') 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 # Maintained by the Perl herd @@ -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} -- cgit v1.2.3-65-gdbad