/[gentoo-x86]/eclass/perl-module.eclass
Gentoo

Diff of /eclass/perl-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.60 Revision 1.64
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.60 2004/05/01 22:03:12 rac Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.64 2004/08/02 18:45:37 rac Exp $
4# 4#
5# Author: Seemant Kulleen <seemant@gentoo.org> 5# Author: Seemant Kulleen <seemant@gentoo.org>
6# Maintained by the Perl herd <perl@gentoo.org> 6# Maintained by the Perl herd <perl@gentoo.org>
7# 7#
8# The perl-module eclass is designed to allow easier installation of perl 8# The perl-module eclass is designed to allow easier installation of perl
13 13
14EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm \ 14EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm \
15 src_compile src_install src_test \ 15 src_compile src_install src_test \
16 perlinfo updatepod 16 perlinfo updatepod
17 17
18# 2004.05.10 rac
19# block on makemaker versions earlier than that in the 5.8.2 core. in
20# actuality, this should be handled in the perl ebuild, so every perl
21# ebuild should block versions of MakeMaker older than the one it
22# carries. in the meantime, since we have dumped support for MakeMaker
23# <6.11 and the associated broken DESTDIR handling, block here to save
24# people from sandbox trouble.
25#
26# 2004.05.25 rac
27# for the same reasons, make the perl dep >=5.8.2 to get everybody
28# with 5.8.0 and its 6.03 makemaker up to a version that can
29# understand DESTDIR
18 30
19DEPEND="dev-lang/perl" 31DEPEND=">=dev-lang/perl-5.8.2 !<dev-perl/ExtUtils-MakeMaker-6.17"
20SRC_PREP="no" 32SRC_PREP="no"
21SRC_TEST="skip" 33SRC_TEST="skip"
22 34
23PERL_VERSION="" 35PERL_VERSION=""
24SITE_ARCH="" 36SITE_ARCH=""
27POD_DIR="" 39POD_DIR=""
28 40
29perl-module_src_prep() { 41perl-module_src_prep() {
30 42
31 perlinfo 43 perlinfo
44
45 export PERL_MM_USE_DEFAULT=1
32 46
33 SRC_PREP="yes" 47 SRC_PREP="yes"
34 if [ "${style}" == "builder" ]; then 48 if [ "${style}" == "builder" ]; then
35 perl ${S}/Build.PL installdirs=vendor destdir=${D} 49 perl ${S}/Build.PL installdirs=vendor destdir=${D}
36 else 50 else

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.64

  ViewVC Help
Powered by ViewVC 1.1.20