mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
fa5fed5bbe
Prepare rc.d scripts that do ldconfig on startup, because $PREFIX/lib/compat and $PREFIX/lib/compat/aout are no longer included in the default $ldconfig_paths and $ldconfig_paths_aout, respectively.
9 lines
399 B
Plaintext
9 lines
399 B
Plaintext
etc/rc.d/000.compat4x.sh
|
|
%%CURRENT_ONLY:%%lib/compat/libc.so.4
|
|
%%CURRENT_ONLY:%%@unexec if [ -e %B/libc_r.so.4.compat3x ]; then ln -sf %B/libc_r.so.4.compat3x %B/libc_r.so.4; else rm %B/libc_r.so.4; fi
|
|
%%CURRENT_ONLY:%%lib/compat/libc_r.so.4.compat4x
|
|
%%CURRENT_ONLY:%%@exec ln -sf %B/%f %B/libc_r.so.4
|
|
lib/compat/libcrypto.so.1
|
|
lib/compat/libssl.so.1
|
|
@unexec rmdir %D/lib/compat 2>/dev/null || true
|