Date: Wed, 2 Mar 2005 12:39:25 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Dag-Erling Sm?rgrav <des@des.no> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include Makefile Message-ID: <20050302103925.GA46493@ip.net.ua> In-Reply-To: <863bvepczp.fsf@xps.des.no> References: <200503020740.j227eJEu044031@repoman.freebsd.org> <863bvepczp.fsf@xps.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, Mar 02, 2005 at 11:18:34AM +0100, Dag-Erling Sm?rgrav wrote: > Ruslan Ermilov <ru@FreeBSD.org> writes: > > Log: > > Sync the list of headers visible with SHARED=3Dsymlinks with those > > visible with SHARED=3Dcopies. >=20 > Why do we keep SHARED=3Dsymlinks around? It has a non-zero maintenance > cost (as evidenced by this commit) and offers no apparent benefit > except the ability to shoot your foot off by building your bootstrap > tools against the wrong set of headers. >=20 # Define SHARED to indicate whether you want symbolic links to the system # source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is # probably only useful for developers and should be avoided if you do not # wish to tie your /usr/include and /usr/src together. #SHARED=3D symlinks SHARED?=3D copies It's also used during "make buildworld". Maintenance cost is not that big -- I just do "make install" with different values for SHARED, then use "find -s . -name '*.h'" to find the diffs -- there shouldn't be any. (Of course I'm doing this with DESTDIR properly set to point to some safe place.) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCJZfdqRfpzJluFF4RAoXAAJ4xEdXhXHTTYQtsgon4h5S0jKdyrwCfWSFk /Ou6w5tkU/eV15S+u+NOeqA= =Cxoa -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050302103925.GA46493>