commit:     17ac1d44eb5ef2ce48370d162d4abec3eba2bc5a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 29 13:48:46 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 12:55:24 2018 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=17ac1d44

pkg-mgr-commands: Redefine dolib* in terms of libdir.a

Since EAPI 7 removes dolib, it would be a bad fit to describe the two
other commands on top of one that is removed. Instead, start by defining
libdir.a and then define the two other commands on top of it.

This also clarifies that dolib.a & dolib.so do not respect libopts,
while the old wording was not clear on that. However, this is at least
how it was implemented in Portage (with dolib.a and dolib.so overriding
libopts completely).

 pkg-mgr-commands.tex | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 9e7390c..82e48ca 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -481,15 +481,15 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
     symlink is encountered. Failure behaviour is EAPI dependent as per
     section~\ref{sec:failure-behaviour}.
 
-\item[dolib] For each argument, installs it into the appropriate library 
subdirectory under
-    \t{DESTTREE}, as determined by algorithm~\ref{alg:ebuild-libdir}. Files 
are installed by default
-    with file mode \t{0644}, or with the \t{install} options set by the most 
recent \t{libopts}
-    call. Any symlinks are installed into the same directory as relative links 
to their original
-    target. Failure behaviour is EAPI dependent as per 
section~\ref{sec:failure-behaviour}.
+\item[dolib.a] For each argument, installs it into the appropriate library 
subdirectory under
+    \t{DESTTREE}, as determined by algorithm~\ref{alg:ebuild-libdir}. Files 
are installed with file
+    mode \t{0644}. Any symlinks are installed into the same directory as 
relative links to their
+    original target. Failure behaviour is EAPI dependent as per 
section~\ref{sec:failure-behaviour}.
 
-\item[dolib.a] As for \t{dolib} except each file is installed with mode 
\t{0644}.
+\item[dolib.so] As for \t{dolib.a} except each file is installed with mode 
\t{0755}.
 
-\item[dolib.so] As for \t{dolib} except each file is installed with mode 
\t{0755}.
+\item[dolib] As for \t{dolib.a} except that the default install mode can be 
overriden with
+    the \t{install} options set by the most recent \t{libopts} call.
 
 \begin{algorithm}
 \caption{Determining the library directory} \label{alg:ebuild-libdir}

Reply via email to