On Wed, Jul 09, 2014 at 11:08:04AM -0500, Pedro Giffuni wrote: > > On 07/09/14 10:52, Baptiste Daroussin wrote: > > Author: bapt > > Date: Wed Jul 9 15:52:30 2014 > > New Revision: 268461 > > URL: http://svnweb.freebsd.org/changeset/base/268461 > > > > Log: > > The GNU readline library is now an INTERNALLIB - that is, it is > > statically linked into consumers (GDB and variants) in the base > > system, and the shared library is no longer installed. > > > > That also allows ports to be able to use a modern version of readline > > > > Nice, thank you. > I guess libgnuregex is also a good candidate for such treatment :). > gnuregex is another beast it is used in at more places: - GNU diff - GNU grep - BSD grep - gdb - kgdb - gdbtui
That makes it more a candidate for privatellib, but private lib needs to be
fixed first, it has a couple of problems so far:
- it installs .so, .a and _p.a files while it shouldn't
- they are listed in bsd.libnames.mk so exposed to any bsd.*.mk users when it
should only be internal of to out build system
- when a part of the system tries to link to a privatelib it links to
${DESTDIR}/usr/lib/private/${LIB}.so when it should link to the path on OBJDIR
because the .so is not supposed to be installed into the target.
We need a framework internal to the build system (aka not installed in base)
that list the privatelib/internallib (looks at the ugly thing I have done in
gdb/Makefile.inc) and we need to link to the .so/a which it in the OBJDIR not in
the DESTDIR.
I have no idea how to do that right now (Warner any idea coming into your mind?)
regards,
Bapt
pgpSeLemuo4SQ.pgp
Description: PGP signature
