| Summary: | [patch] Porter's Handbook: Update sec. on Shared Libraries | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Volker Stolz <vs> | ||||
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Volker Stolz
2005-11-03 14:30:12 UTC
On 2005.11.03 15:26:04 +0100, Volker Stolz wrote: > --- shlibs.diff begins here --- > Index: book.sgml > =================================================================== > RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v > retrieving revision 1.625 > diff -u -u -r1.625 book.sgml > --- book.sgml 2 Nov 2005 21:43:56 -0000 1.625 > +++ book.sgml 3 Nov 2005 14:22:43 -0000 > @@ -3869,6 +3869,16 @@ > <programlisting>INSTALLS_SHLIB= yes > LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> > > + <para>Remember that non-standard directories will not be passed to I would suggest "Note that" instead. Just sounds better IMO. > + <literal>/sbin/ldconfig</literal> on a reboot! If any port really You should use &man.ldconfig.8; instead of <literal>/...</literal>. Also I would suggest simply saying "boot" instead of "reboot". Also you should use double space before new sentence (IE. after the "!"). > + needs this to work, install a startup-script as > + <literal>x11/kdelibs3</literal> does. Please double-check, often Use <filename role="package">x11/kdelibs3</filename> and double space after ".". > + this is not necessary at all or can be avoided through > + <literal>-rpath</literal> or setting <makevar>LD_RUN_PATH</makevar> Since LD_LIBRARY_PATH is an environment variable you should use <envar>. > + during linking (see <literal>lang/moscow_ml</literal> for an example), <filename role="package"> again. > + or through a shell-wrapper which sets <makevar>LD_LIBRARY_PATH</makevar> > + before invoking the binary, like <literal>www/mozilla</literal> does.</para> <filename role="package"> again. Hope this helps. -- Simon L. Nielsen State Changed From-To: open->closed Committed with modifications as suggested. |