From owner-svn-src-projects@FreeBSD.ORG Sun Nov 30 09:54:25 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98D4B3B1; Sun, 30 Nov 2014 09:54:25 +0000 (UTC) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5EACCEB6; Sun, 30 Nov 2014 09:54:25 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id kq14so9213577pab.40 for ; Sun, 30 Nov 2014 01:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=PGhOmKKYmq2SFHNqrIZSqmyFbnjvL3JSkA6Ffnbfeic=; b=Zayi6ROOXwHd0ytn3m3kbVJOidHYI9hiX5sJ+ytn8mFTCLcvq1vwvBaQo+cDWvI8BB kLkzDhWrhkzulOiO9v3bL9bWZhQ/r34K7LcAeidRMs6z4uz02gMZXKf6nCUmJai1WVw3 YZYPKLcTv1rvZHpAxZG1xUMIAspJthI1cZDcplsTwF8KH8d4QXLx/hICkWEud5OnkwAb 4/1k8DjTVI+k9287aGV6q3r5f8yHM94mRa2ahSsw8TC848aw5js9pV8hxa2qDkBOkqgd guRyAPWAqVT+ylZ95OMVSmSNaBJiOwmlpH7a05tDFFuAySxOWTEpw9jmLIVM4zn73l+u pX7A== X-Received: by 10.66.253.230 with SMTP id ad6mr89634553pad.85.1417341265011; Sun, 30 Nov 2014 01:54:25 -0800 (PST) Received: from ?IPv6:2601:8:ab80:7d6:dd30:9970:a48e:8fe4? ([2601:8:ab80:7d6:dd30:9970:a48e:8fe4]) by mx.google.com with ESMTPSA id ri3sm1101657pdb.58.2014.11.30.01.54.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Nov 2014 01:54:24 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_F9E2AB45-5E87-4C96-9B7D-131F387FA0C5"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r275287 - in projects/building-blocks: share/mk tools/build/options From: Garrett Cooper In-Reply-To: <20141130094530.GI88765@ivaldir.etoilebsd.net> Date: Sun, 30 Nov 2014 01:54:24 -0800 Message-Id: <440D86F6-7005-43A2-96CE-6E7159ED653A@gmail.com> References: <201411300045.sAU0jXw6015374@svn.freebsd.org> <20141130094530.GI88765@ivaldir.etoilebsd.net> To: Baptiste Daroussin X-Mailer: Apple Mail (2.1878.6) Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org, Garrett Cooper X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2014 09:54:25 -0000 --Apple-Mail=_F9E2AB45-5E87-4C96-9B7D-131F387FA0C5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 30, 2014, at 1:45, Baptiste Daroussin 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 >>=20 >> Log: >> Add MK_FILE and MK_SQLITE3 >>=20 >> - 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 >=20 > 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=92s MK_MAN/MK_MAN_UTILS =97 I=92m ok with making MK_SQLITE3 set = either one of these variables so man(1) isn=92t installed on the image. 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 = = =20 -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 This is a fair amount of space compared to a lot of other libraries, and = the savings is pretty huge given how far I=92ve whittled down a make = installworld/mergemaster-only install (the first directory was produced = with SRCCONF=3D/dev/null, the second is my stripped down SRCCONF, which = is sans bootloaders): $ du -sh /scratch/[12] 404M /scratch/1 32M /scratch/2 Cheers! --Apple-Mail=_F9E2AB45-5E87-4C96-9B7D-131F387FA0C5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUeulQAAoJEMZr5QU6S73ed+sIAKnSsiJG+HdgcV28N474MqPA 9s9nk+BKyFW7PSqVHIprqNZ3YB3MeuUoW7xcx2E3U+wZw2IY1f1Buhtb4rR/zwJl bpVrMKLYdtJf0dKJJ4tqm0HG7hbN1MEAIwfMDAd2Ok/iL8wBni2aj0qOmo0gXdV1 uL/lwyzNocKc++lISVkRqKeIAnozCVAn+YY72MByAlPMznJ9kGuw/7wQKKtjYRGC 7JpwD/KX6t+X5ZqWoBNlNpo5MjZBNuH/0IXx+2DIBLLVoMWbTYYjLpZOs5adQaXu wLuakOxBXM9yU8eZCs03DGddJ0SxX/pOh18r5U919KkuafJPtiJBVIgkZboebLs= =mdxx -----END PGP SIGNATURE----- --Apple-Mail=_F9E2AB45-5E87-4C96-9B7D-131F387FA0C5--