diff options
author | Torsten Veller <tove@gentoo.org> | 2009-11-24 09:16:49 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2009-11-24 09:16:49 +0000 |
commit | 7987d9aa995684e231b91ef0739381689b001dc6 (patch) | |
tree | 7f897b0c5ca51b2985d9e53a6e7aa345caf9cbec /eclass | |
parent | Backport some patches. Fixes CD-RW blanking due to bad ATA commands, http://b... (diff) | |
download | gentoo-2-7987d9aa995684e231b91ef0739381689b001dc6.tar.gz gentoo-2-7987d9aa995684e231b91ef0739381689b001dc6.tar.bz2 gentoo-2-7987d9aa995684e231b91ef0739381689b001dc6.zip |
Print a warning if Module::Build is used but not in DEPEND
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/perl-module.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 42bd9d767277..ffb755151ba7 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.119 2009/11/14 08:58:50 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.120 2009/11/24 09:16:49 tove Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> @@ -89,6 +89,10 @@ perl-module_src_prep() { if [[ ${PREFER_BUILDPL} == yes && -f Build.PL ]] ; then einfo "Using Module::Build" + if [[ ${DEPEND} != *virtual/perl-Module-Build* && ${PN} != Module-Build ]] ; then + ewarn "QA Notice: The ebuild uses Module::Build but doesn't depend on it." + ewarn " Add virtual/perl-Module-Build to DEPEND!" + fi perl Build.PL \ --installdirs=vendor \ --libdoc= \ |