summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2002-10-11 14:02:36 +0000
committerMichael Cummings <mcummings@gentoo.org>2002-10-11 14:02:36 +0000
commit028b25aa07b49abeaff1061a680b17816e56de7e (patch)
tree4433848dbd4e2668b428e2912aca0a2d598fbbff /eclass/perl-module.eclass
parentdon't forget to commit the patch, don't forget to commit the patch, don't .. (diff)
downloadgentoo-2-028b25aa07b49abeaff1061a680b17816e56de7e.tar.gz
gentoo-2-028b25aa07b49abeaff1061a680b17816e56de7e.tar.bz2
gentoo-2-028b25aa07b49abeaff1061a680b17816e56de7e.zip
----------------------------------------------------------------------
added missing variables for siteman and sitearch
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass15
1 files changed, 14 insertions, 1 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index e6efd5fe9587..f9514c75edf8 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.25 2002/09/17 01:09:17 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.26 2002/10/11 14:02:36 mcummings Exp $
# The perl-module eclass is designed to allow easier installation of perl
# modules, and their incorporation into the Gentoo Linux system.
@@ -47,10 +47,13 @@ perl-module_src_install() {
dodir ${POD_DIR}
test -z ${mytargets} && mytargets="install"
+ eval `perl '-V:installsitearch'`
+ SITE_ARCH=${installsitearch}
make \
PREFIX=${D}/usr \
INSTALLMAN1DIR=${D}/usr/share/man/man1 \
+ INSTALLMAN1DIR=${D}/usr/share/man/man1 \
INSTALLMAN2DIR=${D}/usr/share/man/man2 \
INSTALLMAN3DIR=${D}/usr/share/man/man3 \
INSTALLMAN4DIR=${D}/usr/share/man/man4 \
@@ -58,6 +61,16 @@ perl-module_src_install() {
INSTALLMAN6DIR=${D}/usr/share/man/man6 \
INSTALLMAN7DIR=${D}/usr/share/man/man7 \
INSTALLMAN8DIR=${D}/usr/share/man/man8 \
+ INSTALLSITEMAN1DIR=${D}/usr/share/man/man1 \
+ INSTALLSITEMAN2DIR=${D}/usr/share/man/man2 \
+ INSTALLSITEMAN3DIR=${D}/usr/share/man/man3 \
+ INSTALLSITEMAN4DIR=${D}/usr/share/man/man4 \
+ INSTALLSITEMAN5DIR=${D}/usr/share/man/man5 \
+ INSTALLSITEMAN6DIR=${D}/usr/share/man/man6 \
+ INSTALLSITEMAN7DIR=${D}/usr/share/man/man7 \
+ INSTALLSITEMAN8DIR=${D}/usr/share/man/man8 \
+ INSTALLSITEARCH=${D}/${SITE_ARCH} \
+ INSTALLSCRIPT=${D}/usr/bin \
${myinst} \
${mytargets} || die