On 03/23/2017 09:36 AM, Alexis Ballier wrote:

No, the argument is about "we want to clean up the tree from abusive
hacks".

This is yours. Mike's answer is merely asking for proper justification
and doesn't seem to have had an answer yet.


The PMS[0] says

  Ebuilds must not access [FILESDIR] in global scope.

But, for example, autoconf-2.69-r2.ebuild does,

  if [[ -z ${__EBLITS__} && -n ${FILESDIR} ]] ; then
    source "${FILESDIR}"/eblits/main.eblit || die
  fi

in global scope.

I think there are some related patches to block this sort of thing in portage, but portage can't be improved while a critical package is doing the thing that we want to prevent.


[0] https://dev.gentoo.org/~ulm/pms/head/pms.html#fn4x12


Reply via email to