diff options
author | Kent Fredric <kentfredric@gmail.com> | 2011-01-09 13:21:59 +1300 |
---|---|---|
committer | Kent Fredric <kentfredric@gmail.com> | 2011-01-09 13:21:59 +1300 |
commit | 32ac9371dcdd53894ee9c08799ca0777f0534746 (patch) | |
tree | acadefae76e31a83c3415ab1c8757793627df233 /eclass | |
parent | Added Test-DistManifest (diff) | |
download | perl-overlay-32ac9371dcdd53894ee9c08799ca0777f0534746.tar.gz perl-overlay-32ac9371dcdd53894ee9c08799ca0777f0534746.tar.bz2 perl-overlay-32ac9371dcdd53894ee9c08799ca0777f0534746.zip |
Add PERLQAFATAL to perlmodule.eclass, so you can set PERLQAFATAL=1 so you don't manage to ignore the fact that you accidentally missed out adding Module::Build dependencies
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/perl-module.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 36b635d02..1deab36d8 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -112,6 +112,10 @@ perl-module_src_prep() { if [[ ${DEPEND} != *virtual/perl-Module-Build* && ${PN} != Module-Build ]] ; then eqawarn "QA Notice: The ebuild uses Module::Build but doesn't depend on it." eqawarn " Add virtual/perl-Module-Build to DEPEND!" + if [[ -n ${PERLQAFATAL} ]]; then + eerror "Bailing out due to PERLQAFATAL=1"; + die; + fi fi set -- \ --installdirs=vendor \ |