From owner-svn-src-all@FreeBSD.ORG Mon Apr 15 12:34:11 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D8102649; Mon, 15 Apr 2013 12:34:11 +0000 (UTC) (envelope-from gprspb@mail.ru) Received: from fallback4.mail.ru (fallback4.mail.ru [94.100.176.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5753DDCC; Mon, 15 Apr 2013 12:34:10 +0000 (UTC) Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [94.100.177.92]) by fallback4.mail.ru (mPOP.Fallback_MX) with ESMTP id C7B691DF1AA; Mon, 15 Apr 2013 16:34:06 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=jk6HMpUzNlaZmZyS/lbbOvDhQBerP+xgFqS4s8GJ2iQ=; b=tsALsNi985/KOmzkOA5ZzZIIfkGIjr/teTopA+WFe3ZMD6jUTmD6xxr4GJcoFhgidY18X9++Q+xet8dWBCSrvHnbDNLwFIpkZoaZoE2nUNEqVO/PevJRpj6k44KnrngHW6jR9+W4jy2EWjh2nTss2NL62hU4Y2JDNhK0LFWe1DE=; Received: from [93.185.182.46] (port=26122 helo=gpr.nnz-home.ru) by smtp32.i.mail.ru with esmtpa (envelope-from ) id 1URibe-0002eB-Pl; Mon, 15 Apr 2013 16:33:58 +0400 Received: from gpr by gpr.nnz-home.ru with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1URibW-0007J5-1H; Mon, 15 Apr 2013 16:33:50 +0400 Date: Mon, 15 Apr 2013 16:33:50 +0400 From: Gennady Proskurin To: Tim Kientzle Subject: Re: svn commit: r249484 - head/lib Message-ID: <20130415123349.GA27773@gpr.nnz-home.ru> References: <201304141913.r3EJDqPI095965@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201304141913.r3EJDqPI095965@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam: Not detected X-Mras: Ok Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 12:34:11 -0000 Here is the quote from r231336 commit message: === commit be984b719cbcb225dc4afaf9f52b38fb882a09d3 Author: kientzle Date: Fri Feb 10 05:05:42 2012 +0000 Implement -print-file-name=include (which is undocumented but used by some Linux boot loaders). This option prints out the directory holding the include files needed by a freestanding program. The default implementation of this doesn't work on FreeBSD because of the different include file layout. But it's easy to implement: just return /usr/include (or the cross-compiling equivalent). === It turns out, that now we create useless symlink /usr/lib/include just to ease support of "some Linux boot loaders"? I do not have full knowledge about the issue, so excuse me if I misunderstood something. On Sun, Apr 14, 2013 at 07:13:52PM +0000, Tim Kientzle wrote: > Author: kientzle > Date: Sun Apr 14 19:13:51 2013 > New Revision: 249484 > URL: http://svnweb.freebsd.org/changeset/base/249484 > > Log: > Install a symlink > /usr/lib/include ==> /usr/include > > This fixes -print-file-name=include in clang (and is > arguably a better way to fix the same issue in GCC than > the change I made in r231336). > > MFC after: 1 week > > Modified: > head/lib/Makefile > > Modified: head/lib/Makefile > ============================================================================== > --- head/lib/Makefile Sun Apr 14 18:36:30 2013 (r249483) > +++ head/lib/Makefile Sun Apr 14 19:13:51 2013 (r249484) > @@ -252,4 +252,7 @@ _libusbhid= libusbhid > _libusb= libusb > .endif > > +afterinstall: > + ln -fs ../include ${DESTDIR}/usr/lib/include > + > .include > _______________________________________________ > svn-src-head@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" >