svn commit: r275287 - in projects/building-blocks: share/mk tools/build/options

Baptiste Daroussin bapt at FreeBSD.org
Sun Nov 30 10:19:14 UTC 2014


On Sun, Nov 30, 2014 at 01:54:24AM -0800, Garrett Cooper wrote:
> On Nov 30, 2014, at 1:45, Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> 
> > On Sun, Nov 30, 2014 at 12:45:33AM +0000, Garrett Cooper wrote:
> >> Author: ngie
> >> Date: Sun Nov 30 00:45:33 2014
> >> New Revision: 275287
> >> URL: https://svnweb.freebsd.org/changeset/base/275287
> >> 
> >> Log:
> >>  Add MK_FILE and MK_SQLITE3
> >> 
> >>  - MK_FILE will conditionalize building lib/libmagic and usr.bin/file
> >>  - MK_SQLITE3 will conditionalize building lib/libsqlite3, and will disable
> >>    MK_SVN/MK_SVNLITE by proxy
> > 
> > Please avoid the MK_SQLITE3 except if you do plan to be able to ship freebsd
> > without a manpage reader, newer mandoc which I'm planning to import soon is
> > using sqlite3 and this is why I extracted it from svn(lite)
> 
> There’s MK_MAN/MK_MAN_UTILS — I’m ok with making MK_SQLITE3 set either one of these variables so man(1) isn’t installed on the image.

Sure, I may update mandoc in the next couple of days so you will be able to do
that.
> 
> The reason why I was looking at removing it is that it adds ~1MB to install images:
> 
> $ ls -hl /scratch/1/usr/lib/private/libsqlite3.so.0                                                                                                          
> -r--r--r--  1 ngie  wheel   1.0M Nov 30 00:16 /scratch/1/usr/lib/private/libsqlite3.so.0
> $ du -sh /scratch/[12]/lib/libc.so.7
> 1.6M    /scratch/1/lib/libc.so.7

Sure btw sqlite3 is also hidden in kerberos I was willing to make kerberos use
the private sqlite3 but somehow I have never managed to convince Makefile.inc1
that it can use a private library don't know why.

Regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20141130/9ea4ab36/attachment.sig>


More information about the svn-src-projects mailing list