| 1 | # Copyright 1999-2004 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2004 Gentoo Technologies, Inc. |
| 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.62 2004/05/28 20:58:52 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 | |
| 14 | EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm \ |
14 | EXPORT_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 | |
| 19 | DEPEND="dev-lang/perl" |
31 | DEPEND=">=dev-lang/perl-5.8.2 !<dev-perl/ExtUtils-MakeMaker-6.17" |
| 20 | SRC_PREP="no" |
32 | SRC_PREP="no" |
| 21 | SRC_TEST="skip" |
33 | SRC_TEST="skip" |
| 22 | |
34 | |
| 23 | PERL_VERSION="" |
35 | PERL_VERSION="" |
| 24 | SITE_ARCH="" |
36 | SITE_ARCH="" |