summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2002-08-05 20:53:56 +0000
committerMichael Cummings <mcummings@gentoo.org>2002-08-05 20:53:56 +0000
commit52e814bc45d06d0202c0efc05cc9c8671d458628 (patch)
treea92c74249112b3e8b847e2803f2826ccfc54eafb /eclass/perl-module.eclass
parentnew verison (diff)
downloadgentoo-2-52e814bc45d06d0202c0efc05cc9c8671d458628.tar.gz
gentoo-2-52e814bc45d06d0202c0efc05cc9c8671d458628.tar.bz2
gentoo-2-52e814bc45d06d0202c0efc05cc9c8671d458628.zip
Added -PREFIX to the perl Makefile.pl line - this is more in compliance
with the format that perl accepts for the preconfig of the make, and makes sure that no sandbox violation occurs in perl 5.8.0. This has been tested with both 5.8.0 and 5.6.1
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 8d636cb8799d..ebef70394434 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.16 2002/07/29 17:34:12 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.17 2002/08/05 20:53:56 mcummings Exp $
# The perl-module eclass is designed to allow easier installation of perl
# modules, and their incorporation into the Gentoo Linux system.
@@ -20,7 +20,8 @@ SRC_PREP="no"
perl-module_src_prep() {
SRC_PREP="yes"
- perl Makefile.PL ${myconf}
+ perl Makefile.PL ${myconf} \
+ PREFIX=${D}/usr
}
perl-module_src_compile() {