/[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.119 Revision 1.121
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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.119 2009/11/14 08:58:50 tove Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.121 2010/01/13 15:15:45 tove Exp $
4# 4#
5# Author: Seemant Kulleen <seemant@gentoo.org> 5# Author: Seemant Kulleen <seemant@gentoo.org>
6 6
7# @ECLASS: perl-module.eclass 7# @ECLASS: perl-module.eclass
8# @MAINTAINER: 8# @MAINTAINER:
60 60
61pm_echovar="" 61pm_echovar=""
62perlinfo_done=false 62perlinfo_done=false
63 63
64perl-module_src_unpack() { 64perl-module_src_unpack() {
65 base_src_unpack unpack 65 base_src_unpack
66 has src_prepare ${PERL_EXPF} || perl-module_src_prepare 66 has src_prepare ${PERL_EXPF} || perl-module_src_prepare
67} 67}
68 68
69perl-module_src_prepare() { 69perl-module_src_prepare() {
70 if [[ -n ${PATCHES} ]] ; then 70 has src_prepare ${PERL_EXPF} && base_src_prepare
71 base_src_unpack autopatch
72 fi
73 esvn_clean 71 esvn_clean
74} 72}
75 73
76perl-module_src_configure() { 74perl-module_src_configure() {
77 perl-module_src_prep 75 perl-module_src_prep
87 # Disable ExtUtils::AutoInstall from prompting 85 # Disable ExtUtils::AutoInstall from prompting
88 export PERL_EXTUTILS_AUTOINSTALL="--skipdeps" 86 export PERL_EXTUTILS_AUTOINSTALL="--skipdeps"
89 87
90 if [[ ${PREFER_BUILDPL} == yes && -f Build.PL ]] ; then 88 if [[ ${PREFER_BUILDPL} == yes && -f Build.PL ]] ; then
91 einfo "Using Module::Build" 89 einfo "Using Module::Build"
90 if [[ ${DEPEND} != *virtual/perl-Module-Build* && ${PN} != Module-Build ]] ; then
91 ewarn "QA Notice: The ebuild uses Module::Build but doesn't depend on it."
92 ewarn " Add virtual/perl-Module-Build to DEPEND!"
93 fi
92 perl Build.PL \ 94 perl Build.PL \
93 --installdirs=vendor \ 95 --installdirs=vendor \
94 --libdoc= \ 96 --libdoc= \
95 --destdir="${D}" \ 97 --destdir="${D}" \
96 --create_packlist=0 \ 98 --create_packlist=0 \

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.121

  ViewVC Help
Powered by ViewVC 1.1.20