Summary: | perl-module.eclass: Add a warning if a ./Build script is found in the EU::MM case | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torsten Veller (RETIRED) <tove> |
Component: | Eclasses | Assignee: | Gentoo Perl team <perl> |
Status: | IN_PROGRESS --- | ||
Severity: | normal | CC: | avenj, esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 239510, 385621 | ||
Attachments: | warn if a Build file exists in the EU::MM case |
Description
Torsten Veller (RETIRED)
![]() Created attachment 289479 [details]
warn if a Build file exists in the EU::MM case
And add a PREFER_BUILDPL check to perl-module_src_compile: @@ -160,17 +188,17 @@ perl-module_src_compile() { - if [[ -f Build ]] ; then + if [[ ( ${PREFER_BUILDPL} == yes || ! -f Makefile ) && -f Build ]] ; then and set PREFER_BUILDPL to not "yes" in the ebuild if a non-M::B build file exists. I played around with this a bit, and it's a mess because of the different logic in the phases. Let's leave it as is for now, and re-sort the entire decision tree between the different build systems at the EAPI=7 step. |