summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/perl-module.eclass6
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= \