|
Lines 3869-3874
Link Here
|
| 3869 |
<programlisting>INSTALLS_SHLIB= yes |
3869 |
<programlisting>INSTALLS_SHLIB= yes |
| 3870 |
LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> |
3870 |
LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> |
| 3871 |
|
3871 |
|
|
|
3872 |
<para>Remember that non-standard directories will not be passed to |
| 3873 |
<literal>/sbin/ldconfig</literal> on a reboot! If any port really |
| 3874 |
needs this to work, install a startup-script as |
| 3875 |
<literal>x11/kdelibs3</literal> does. Please double-check, often |
| 3876 |
this is not necessary at all or can be avoided through |
| 3877 |
<literal>-rpath</literal> or setting <makevar>LD_RUN_PATH</makevar> |
| 3878 |
during linking (see <literal>lang/moscow_ml</literal> for an example), |
| 3879 |
or through a shell-wrapper which sets <makevar>LD_LIBRARY_PATH</makevar> |
| 3880 |
before invoking the binary, like <literal>www/mozilla</literal> does.</para> |
| 3881 |
|
| 3872 |
<para>Note that content of <makevar>LDCONFIG_DIRS</makevar> is passed |
3882 |
<para>Note that content of <makevar>LDCONFIG_DIRS</makevar> is passed |
| 3873 |
through &man.sed.1; just like the rest of <filename>pkg-plist</filename>, |
3883 |
through &man.sed.1; just like the rest of <filename>pkg-plist</filename>, |
| 3874 |
so <makevar>PLIST_SUB</makevar> substitutions also apply here. It is |
3884 |
so <makevar>PLIST_SUB</makevar> substitutions also apply here. It is |