Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
Date: Fri, 14 Oct 2016 08:07:00
Message-Id: 1476432408.19719.11.camel@gentoo.org
In Reply to: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 by Ulrich Mueller
1 On Do, 2016-10-13 at 15:53 +0200, Ulrich Mueller wrote:
2 > Hi all,
3 >
4 > I suggest that we ban the dolib and libopts commands in EAPI 7.
5 >
6 > Rationale:
7 > 1. There are about 60 instances of dolib in the tree. At least one
8 >    third of them appears to be wrong (e.g., should be replaced by
9 >    dolib.so for correct mode).
10 > 2. libopts affects only dolib, while the more special commands
11 > dolib.a
12 >    and dolib.so install libraries with fixed modes 0644 and 0755,
13 >    respectively. (The latter is also consistent with dobin installing
14 >    with fixed mode 0755, i.e., there is no binopts command.)
15 > 3. There is no newlib command corresponding to dolib, whereas
16 >    newlib.{a,so} commands exist.
17 > 4. libopts is not used at all in the tree, which strongly indicates
18 >    that there is no need for it.
19 >
20 > Replacement:
21 > Use dolib.a or dolib.so instead.
22 >
23 > Comments?
24 >
25 > Ulrich
26
27 +1