In message <[EMAIL PROTECTED]> Alfred Perlstein writes:
: > Actually going from libc.so.500 to libc.so.{x<500} is easy.
: > Copy libc.so.500 into /usr/lib/compat.  When the libc.so link is made to
: > libc.so.{x<500}, that is the lib version number that will get burned into
: > objects.  After the first `make world', rm /usr/lib/libc.so.500.
: 
: If that's true it doesn't seem like it would be terribly hard to 
: add a check to the installworld / world target to check for cross
: version upgrades and do the magic (or at least print out those
: instructions).

Actaully, I think that the libc.so.500 can remain in its place because
of bsd.lib.mk:
...
SHLIB_NAME=     lib${LIB}.so.${SHLIB_MAJOR}
SHLIB_LINK?=    lib${LIB}.so
...
.if defined(SHLIB_LINK)
        @ln -sf ${SHLIB_NAME} ${SHLIB_LINK}
.endif
...

As peter pointed out, it is the libc.so link that makes it the
default.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to