mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
Refresh the aout ldconfig info so things like compat22 when installed can
be detected by netscape and such. PR: bin/17659 Submitted by: Murray Stokelay <murray@cdrom.com> Approved by: jkh jkh made updates that conflict with the submitters patch, so I updated accordingly, any mistakes are mine, not the submitters.
This commit is contained in:
parent
df38713c24
commit
26b0377cc1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58840
@ -626,6 +626,11 @@ tryagain:
|
||||
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
else
|
||||
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
if (file_readable("/var/run/ld.so.hints"))
|
||||
vsystem("ldconfig -m -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout");
|
||||
else
|
||||
vsystem("ldconfig -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout");
|
||||
|
||||
vsystem("/sbin/ifconfig lo0 127.0.0.1");
|
||||
execfile = string_concat("/usr/X11R6/bin/", config);
|
||||
if (file_executable(execfile)) {
|
||||
|
@ -626,6 +626,11 @@ tryagain:
|
||||
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
else
|
||||
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
if (file_readable("/var/run/ld.so.hints"))
|
||||
vsystem("ldconfig -m -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout");
|
||||
else
|
||||
vsystem("ldconfig -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout");
|
||||
|
||||
vsystem("/sbin/ifconfig lo0 127.0.0.1");
|
||||
execfile = string_concat("/usr/X11R6/bin/", config);
|
||||
if (file_executable(execfile)) {
|
||||
|
@ -626,6 +626,11 @@ tryagain:
|
||||
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
else
|
||||
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
|
||||
if (file_readable("/var/run/ld.so.hints"))
|
||||
vsystem("ldconfig -m -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout");
|
||||
else
|
||||
vsystem("ldconfig -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout");
|
||||
|
||||
vsystem("/sbin/ifconfig lo0 127.0.0.1");
|
||||
execfile = string_concat("/usr/X11R6/bin/", config);
|
||||
if (file_executable(execfile)) {
|
||||
|
Loading…
Reference in New Issue
Block a user