If PREFER_BUILDPL is set to "yes", portage will completely ignore any Makefile.PL and so won't do anything unless there's a Build.PL. That may considered a little restrictive for a PREFERence, since it prevents any module to be build unless PREFER_BUILDPL is explicitely specified to "no". The following patch changes this behaviour to : - use Build.PL if either : * we are in module-build * there's a Build.PL, and PREFER_BUILDPL is yes if Makefile.PL is present too - otherwise use Makefile.PL if it's present Reproducible: Always Steps to Reproduce:
Created attachment 123369 [details, diff] PREFER_BUILDPL behaviour fix
Vincent, the description isn't accurate any more. The eclasses currently check: | if [[ ${PREFER_BUILDPL} == yes && -f Build.PL ]] ; then | einfo "Using Module::Build" | ... | elif [[ -f Makefile.PL ]] ; then | einfo "Using ExtUtils::MakeMaker" | ... | fi If you think we can improve it, please describe the problem again. I close the bug in the meantime. Thanks for your patience