Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-7 commit in: /
Date: Fri, 29 Sep 2017 14:03:08
Message-Id: 1506692926.fed17acde8d4345aab1f64c793ab5f9b313d9f14.mgorny@gentoo
1 commit: fed17acde8d4345aab1f64c793ab5f9b313d9f14
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 13:48:46 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 13:48:46 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=fed17acd
7
8 pkg-mgr-commands: Redefine dolib* in terms of libdir.a
9
10 Since EAPI 7 removes dolib, it would be a bad fit to describe the two
11 other commands on top of one that is removed. Instead, start by defining
12 libdir.a and then define the two other commands on top of it.
13
14 This also clarifies that dolib.a & dolib.so do not respect libopts,
15 while the old wording was not clear on that. However, this is at least
16 how it was implemented in Portage (with dolib.a and dolib.so overriding
17 libopts completely).
18
19 pkg-mgr-commands.tex | 15 ++++++++-------
20 1 file changed, 8 insertions(+), 7 deletions(-)
21
22 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
23 index bfc3e99..ae9a615 100644
24 --- a/pkg-mgr-commands.tex
25 +++ b/pkg-mgr-commands.tex
26 @@ -494,15 +494,16 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
27 symlink is encountered. Failure behaviour is EAPI dependent as per
28 section~\ref{sec:failure-behaviour}.
29
30 -\item[dolib] For each argument, installs it into the appropriate library subdirectory under
31 - \t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files are installed by default
32 - with file mode \t{0644}, or with the \t{install} options set by the most recent \t{libopts}
33 - call. Any symlinks are installed into the same directory as relative links to their original
34 - target. Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
35 +\item[dolib.a] For each argument, installs it into the appropriate library subdirectory under
36 + \t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files are installed
37 + with file mode \t{0644}. Any symlinks are installed into the same directory as relative links
38 + to their original target. Failure behaviour is EAPI dependent as per
39 + section~\ref{sec:failure-behaviour}.
40
41 -\item[dolib.a] As for \t{dolib} except each file is installed with mode \t{0644}.
42 +\item[dolib.so] As for \t{dolib.a} except each file is installed with mode \t{0755}.
43
44 -\item[dolib.so] As for \t{dolib} except each file is installed with mode \t{0755}.
45 +\item[dolib] As for \t{dolib.a} except that the default install mode can be overriden with
46 + the \t{install} options set by the most recent \t{libopts} call.
47
48 \begin{algorithm}
49 \caption{Determining the library directory} \label{alg:ebuild-libdir}