Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-7 commit in: /
Date: Sat, 24 Feb 2018 12:58:52
Message-Id: 1519476924.17ac1d44eb5ef2ce48370d162d4abec3eba2bc5a.ulm@gentoo
1 commit: 17ac1d44eb5ef2ce48370d162d4abec3eba2bc5a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 13:48:46 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 24 12:55:24 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=17ac1d44
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 | 14 +++++++-------
20 1 file changed, 7 insertions(+), 7 deletions(-)
21
22 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
23 index 9e7390c..82e48ca 100644
24 --- a/pkg-mgr-commands.tex
25 +++ b/pkg-mgr-commands.tex
26 @@ -481,15 +481,15 @@ 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 with file
37 + mode \t{0644}. Any symlinks are installed into the same directory as relative links to their
38 + original target. Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
39
40 -\item[dolib.a] As for \t{dolib} except each file is installed with mode \t{0644}.
41 +\item[dolib.so] As for \t{dolib.a} except each file is installed with mode \t{0755}.
42
43 -\item[dolib.so] As for \t{dolib} except each file is installed with mode \t{0755}.
44 +\item[dolib] As for \t{dolib.a} except that the default install mode can be overriden with
45 + the \t{install} options set by the most recent \t{libopts} call.
46
47 \begin{algorithm}
48 \caption{Determining the library directory} \label{alg:ebuild-libdir}