/[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.118 Revision 1.120
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.118 2009/11/10 12:53:53 tove Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.120 2009/11/24 09:16:49 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:
87 # Disable ExtUtils::AutoInstall from prompting 87 # Disable ExtUtils::AutoInstall from prompting
88 export PERL_EXTUTILS_AUTOINSTALL="--skipdeps" 88 export PERL_EXTUTILS_AUTOINSTALL="--skipdeps"
89 89
90 if [[ ${PREFER_BUILDPL} == yes && -f Build.PL ]] ; then 90 if [[ ${PREFER_BUILDPL} == yes && -f Build.PL ]] ; then
91 einfo "Using Module::Build" 91 einfo "Using Module::Build"
92 if [[ ${DEPEND} != *virtual/perl-Module-Build* && ${PN} != Module-Build ]] ; then
93 ewarn "QA Notice: The ebuild uses Module::Build but doesn't depend on it."
94 ewarn " Add virtual/perl-Module-Build to DEPEND!"
95 fi
92 perl Build.PL \ 96 perl Build.PL \
93 --installdirs=vendor \ 97 --installdirs=vendor \
94 --libdoc= \ 98 --libdoc= \
95 --destdir="${D}" \ 99 --destdir="${D}" \
96 --create_packlist=0 \ 100 --create_packlist=0 \
251 find "${D}" -type f -name perllocal.pod -delete 255 find "${D}" -type f -name perllocal.pod -delete
252 find "${D}" -depth -mindepth 1 -type d -empty -delete 256 find "${D}" -depth -mindepth 1 -type d -empty -delete
253} 257}
254 258
255linkduallifescripts() { 259linkduallifescripts() {
256 if [[ ${CATEGORY} != perl-core ]] || ! has_version ">=dev-lang/perl-5.10.1" ; then 260 if [[ ${CATEGORY} != perl-core ]] || ! has_version ">=dev-lang/perl-5.8.8-r8" ; then
257 return 0 261 return 0
258 fi 262 fi
259 263
260 local i ff 264 local i ff
261 if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ; then 265 if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ; then

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.120

  ViewVC Help
Powered by ViewVC 1.1.20