1 |
Since EAPI 7 removes dolib, it would be a bad fit to describe the two |
2 |
other commands on top of one that is removed. Instead, start by defining |
3 |
libdir.a and then define the two other commands on top of it. |
4 |
|
5 |
This also clarifies that dolib.a & dolib.so do not respect libopts, |
6 |
while the old wording was not clear on that. However, this is at least |
7 |
how it was implemented in Portage (with dolib.a and dolib.so overriding |
8 |
libopts completely). |
9 |
--- |
10 |
pkg-mgr-commands.tex | 15 ++++++++------- |
11 |
1 file changed, 8 insertions(+), 7 deletions(-) |
12 |
|
13 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
14 |
index bfc3e99..ae9a615 100644 |
15 |
--- a/pkg-mgr-commands.tex |
16 |
+++ b/pkg-mgr-commands.tex |
17 |
@@ -494,15 +494,16 @@ can be extended or reduced (see below). The options that can be passed to \t{doh |
18 |
symlink is encountered. Failure behaviour is EAPI dependent as per |
19 |
section~\ref{sec:failure-behaviour}. |
20 |
|
21 |
-\item[dolib] For each argument, installs it into the appropriate library subdirectory under |
22 |
- \t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files are installed by default |
23 |
- with file mode \t{0644}, or with the \t{install} options set by the most recent \t{libopts} |
24 |
- call. Any symlinks are installed into the same directory as relative links to their original |
25 |
- target. Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. |
26 |
+\item[dolib.a] For each argument, installs it into the appropriate library subdirectory under |
27 |
+ \t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files are installed |
28 |
+ with file mode \t{0644}. Any symlinks are installed into the same directory as relative links |
29 |
+ to their original target. Failure behaviour is EAPI dependent as per |
30 |
+ section~\ref{sec:failure-behaviour}. |
31 |
|
32 |
-\item[dolib.a] As for \t{dolib} except each file is installed with mode \t{0644}. |
33 |
+\item[dolib.so] As for \t{dolib.a} except each file is installed with mode \t{0755}. |
34 |
|
35 |
-\item[dolib.so] As for \t{dolib} except each file is installed with mode \t{0755}. |
36 |
+\item[dolib] As for \t{dolib.a} except that the default install mode can be overriden with |
37 |
+ the \t{install} options set by the most recent \t{libopts} call. |
38 |
|
39 |
\begin{algorithm} |
40 |
\caption{Determining the library directory} \label{alg:ebuild-libdir} |
41 |
-- |
42 |
2.14.2 |