From owner-cvs-src@FreeBSD.ORG Wed Mar 2 10:39:19 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D47316A4CE; Wed, 2 Mar 2005 10:39:19 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B65C143D4C; Wed, 2 Mar 2005 10:39:18 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j22AdFfO081545; Wed, 2 Mar 2005 12:39:15 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 22506-16; Wed, 2 Mar 2005 12:39:14 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j22AdE6b081541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Mar 2005 12:39:14 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j22AdPLs046528; Wed, 2 Mar 2005 12:39:25 +0200 (EET) (envelope-from ru) Date: Wed, 2 Mar 2005 12:39:25 +0200 From: Ruslan Ermilov To: Dag-Erling Sm?rgrav Message-ID: <20050302103925.GA46493@ip.net.ua> References: <200503020740.j227eJEu044031@repoman.freebsd.org> <863bvepczp.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <863bvepczp.fsf@xps.des.no> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 10:39:19 -0000 --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 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--