diff options
author | 2017-09-15 18:21:04 +1200 | |
---|---|---|
committer | 2017-09-17 12:07:34 +1200 | |
commit | 6aad2715aa7be4d95218214023e8730ead0abd1c (patch) | |
tree | 5dd5196d1e592e3c23cd596fb4da0b2921b40543 /eclass | |
parent | perl-module.eclass: Tell Build.PL to create packlists (diff) | |
download | perl-overlay-6aad2715aa7be4d95218214023e8730ead0abd1c.tar.gz perl-overlay-6aad2715aa7be4d95218214023e8730ead0abd1c.tar.bz2 perl-overlay-6aad2715aa7be4d95218214023e8730ead0abd1c.zip |
perl-module.eclass: Make Module-Build/Module-Build-Tiny deps fatal
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/perl-module.eclass | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 31afa6dc8..f21e3a684 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -235,16 +235,14 @@ perl-module_src_configure() { if grep -q '\(use\|require\)\s*Module::Build::Tiny' Build.PL ; then einfo "Using Module::Build::Tiny" if [[ ${DEPEND} != *dev-perl/Module-Build-Tiny* && ${PN} != Module-Build-Tiny ]]; then - eqawarn "QA Notice: The ebuild uses Module::Build::Tiny but doesn't depend on it." - eqawarn " Add dev-perl/Module-Build-Tiny to DEPEND!" - perl_qafatal "modulebuildtiny" "Needs to depend on Module-Build-Tiny" + eerror "QA Notice: The ebuild uses Module::Build::Tiny but doesn't depend on it." + die " Add dev-perl/Module-Build-Tiny to DEPEND!" fi else einfo "Using Module::Build" if [[ ${DEPEND} != *virtual/perl-Module-Build* && ${DEPEND} != *dev-perl/Module-Build* && ${PN} != Module-Build ]] ; then - eqawarn "QA Notice: The ebuild uses Module::Build but doesn't depend on it." - eqawarn " Add dev-perl/Module-Build to DEPEND!" - perl_qafatal "modulebuild" "Needs to depend on Module-Build" + eerror "QA Notice: The ebuild uses Module::Build but doesn't depend on it." + die " Add dev-perl/Module-Build to DEPEND!" fi fi set -- \ |