On Thu, 13 Oct 2016 15:53:16 +0200
Ulrich Mueller <u...@gentoo.org> wrote:

> Hi all,
> 
> I suggest that we ban the dolib and libopts commands in EAPI 7.
> 
> Rationale:
> 1. There are about 60 instances of dolib in the tree. At least one
>    third of them appears to be wrong (e.g., should be replaced by
>    dolib.so for correct mode).
> 2. libopts affects only dolib, while the more special commands dolib.a
>    and dolib.so install libraries with fixed modes 0644 and 0755,
>    respectively. (The latter is also consistent with dobin installing
>    with fixed mode 0755, i.e., there is no binopts command.)
> 3. There is no newlib command corresponding to dolib, whereas
>    newlib.{a,so} commands exist.
> 4. libopts is not used at all in the tree, which strongly indicates
>    that there is no need for it.
> 
> Replacement:
> Use dolib.a or dolib.so instead.

...or insinto + insopts + doins / exeinto + exeopts + doexe.

For the record.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

Attachment: pgpOwaAFgfR7E.pgp
Description: OpenPGP digital signature

Reply via email to