On Wed, Dec 24, 2014 at 11:04:01PM -0800, Garrett Cooper wrote:
>
> > On Dec 24, 2014, at 19:56, Alfred Perlstein <alf...@freebsd.org> wrote:
> >
> >
> > On 12/24/14 7:36 PM, Garrett Cooper wrote:
> >>> On Dec 24, 2014, at 19:15, Alfred Perlstein <alf...@freebsd.org> wrote:
> >>>
> >>> Author: alfred
> >>> Date: Thu Dec 25 03:15:56 2014
> >>> New Revision: 276195
> >>> URL: https://svnweb.freebsd.org/changeset/base/276195
> >>>
> >>> Log:
> >>> Move libxo to /lib
> >>>
> >>> Update ObsoleteFiles to reflect libxo move.
> >>>
> >>> Reviewed by: ngie
> >>> Differential Revision: https://reviews.freebsd.org/D1370
> >>>
> >>> Modified:
> >>> head/ObsoleteFiles.inc
> >>> head/lib/libxo/Makefile
> >>>
> >>> Modified: head/ObsoleteFiles.inc
> >>> ==============================================================================
> >>> --- head/ObsoleteFiles.inc Thu Dec 25 02:17:17 2014 (r276194)
> >>> +++ head/ObsoleteFiles.inc Thu Dec 25 03:15:56 2014 (r276195)
> >>> @@ -38,6 +38,9 @@
> >>> # xargs -n1 | sort | uniq -d;
> >>> # done
> >>>
> >>> +# 20141224: libxo moved to /lib
> >>> +OLD_FILES+=usr/lib/libxo.a
> >>> +OLD_FILES+=usr/lib/libxo_p.a
> >> This should actually be the .so file only. Static libraries are always in
> >> /usr/lib .
> >>
> >> Sorry for not being explicit about this (I'm currently writing from the
> >> boonies so bandwidth is limited) :/.
> >>
> >>
> >
> > I think the .so gets clobbered with a symlink, so it should be fine?
> >
> > Meaning that after I moved the lib to /lib this is what I see in /usr/lib:
> > /usr/src/contrib/libxo % ls -l /usr/lib/libxo*
> > -r--r--r-- 1 root wheel 83764 Dec 24 19:31 /usr/lib/libxo.a
> > lrwxr-xr-x 1 root wheel 15 Dec 24 19:31 /usr/lib/libxo.so ->
> > /lib/libxo.so.0
> > -r--r--r-- 1 root wheel 95164 Dec 24 19:31 /usr/lib/libxo_p.a
> >
> >
> > Or should I reference it explicitly?
> >
> > What is the end result here?
>
> There isn't a leftover versioned .so in /usr/lib ?
usr/lib/libxo.so.0 (without leading slash) must go into OLD_LIBS.
It is all explained in the first paragraph of the file comment.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"