/[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.104 Revision 1.105
1# Copyright 1999-2004 Gentoo Foundation 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.104 2006/12/09 14:34:01 mcummings Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.105 2007/05/24 15:11:20 mcummings 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
113 # Disable ExtUtils::AutoInstall from prompting 113 # Disable ExtUtils::AutoInstall from prompting
114 export PERL_EXTUTILS_AUTOINSTALL="--skipdeps" 114 export PERL_EXTUTILS_AUTOINSTALL="--skipdeps"
115 115
116 116
117 SRC_PREP="yes" 117 SRC_PREP="yes"
118 pwd 118 find ${S} -type d -name "\.svn" -exec /bin/rm -rf {} \; 2>/dev/null
119 if [ "${PREFER_BUILDPL}" == "yes" ] && ( [ -f Build.PL ] || [ ${PN} == "module-build" ] ); then 119 if [ "${PREFER_BUILDPL}" == "yes" ] && ( [ -f Build.PL ] || [ ${PN} == "module-build" ] ); then
120 einfo "Using Module::Build" 120 einfo "Using Module::Build"
121 echo "$pm_echovar" | perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" 121 echo "$pm_echovar" | perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)"
122 elif [ -f Makefile.PL ] && [ ! ${PN} == "module-build" ]; then 122 elif [ -f Makefile.PL ] && [ ! ${PN} == "module-build" ]; then
123 einfo "Using ExtUtils::MakeMaker" 123 einfo "Using ExtUtils::MakeMaker"

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105

  ViewVC Help
Powered by ViewVC 1.1.20