summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-11-24 09:16:49 +0000
committerTorsten Veller <tove@gentoo.org>2009-11-24 09:16:49 +0000
commitdeda6ac9c60a0fe834500559f51cd2293a64d649 (patch)
tree08b723aee3f6e51f429b01ee1a328d2495619f49 /eclass
parentBackport some patches. Fixes CD-RW blanking due to bad ATA commands, http://b... (diff)
downloadhistorical-deda6ac9c60a0fe834500559f51cd2293a64d649.tar.gz
historical-deda6ac9c60a0fe834500559f51cd2293a64d649.tar.bz2
historical-deda6ac9c60a0fe834500559f51cd2293a64d649.zip
Print a warning if Module::Build is used but not in DEPEND
Diffstat (limited to 'eclass')
-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= \