Gentoo Archives: gentoo-dev

From: "M. J. Everitt" <m.j.everitt@×××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
Date: Thu, 13 Oct 2016 20:22:54
Message-Id: 57FFED12.3020101@iee.org
In Reply to: Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 by "Michał Górny"
1 On 13/10/16 15:04, Michał Górny wrote:
2 > On Thu, 13 Oct 2016 15:53:16 +0200
3 > Ulrich Mueller <ulm@g.o> wrote:
4 >
5 >> Hi all,
6 >>
7 >> I suggest that we ban the dolib and libopts commands in EAPI 7.
8 >>
9 >> Rationale:
10 >> 1. There are about 60 instances of dolib in the tree. At least one
11 >> third of them appears to be wrong (e.g., should be replaced by
12 >> dolib.so for correct mode).
13 >> 2. libopts affects only dolib, while the more special commands dolib.a
14 >> and dolib.so install libraries with fixed modes 0644 and 0755,
15 >> respectively. (The latter is also consistent with dobin installing
16 >> with fixed mode 0755, i.e., there is no binopts command.)
17 >> 3. There is no newlib command corresponding to dolib, whereas
18 >> newlib.{a,so} commands exist.
19 >> 4. libopts is not used at all in the tree, which strongly indicates
20 >> that there is no need for it.
21 >>
22 >> Replacement:
23 >> Use dolib.a or dolib.so instead.
24 > ...or insinto + insopts + doins / exeinto + exeopts + doexe.
25 >
26 > For the record.
27 >
28 You need to get out more ... :P lol !!!

Attachments

File name MIME type
signature.asc application/pgp-signature