From owner-freebsd-arch@freebsd.org Wed Mar 8 16:19:53 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80097D031E1 for ; Wed, 8 Mar 2017 16:19:53 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5215014C9 for ; Wed, 8 Mar 2017 16:19:53 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 43BCBD031DB; Wed, 8 Mar 2017 16:19:53 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4348CD031DA; Wed, 8 Mar 2017 16:19:53 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BFF9114B9; Wed, 8 Mar 2017 16:19:52 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (106-68-109-205.dyn.iinet.net.au [106.68.109.205]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v28GJiRW064072 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 8 Mar 2017 08:19:47 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: manpath change for ports ? To: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= , Baptiste Daroussin References: <20170306235610.cmpxk27jhoafel6l@ivaldir.net> <86mvcvojzt.fsf@desk.des.no> Cc: ports@FreeBSD.org, arch@FreeBSD.org From: Julian Elischer Message-ID: <1414f265-7a3c-e2ea-06ac-7b7343347f93@freebsd.org> Date: Thu, 9 Mar 2017 00:19:38 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <86mvcvojzt.fsf@desk.des.no> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 16:19:53 -0000 On 8/3/17 11:39 pm, Dag-Erling Smørgrav wrote: > Baptiste Daroussin writes: >> I would like to propose a change in the localbase hier for ports >> >> I think we should add /usr/local/share/man in the manpath along with >> at first and maybe instead of in long term. > 2) plus info -> share/info as suggested by jbeich > > 3) plus libdata/pkgconfig -> lib/pkgconfig > > These three items will ensure that "./configure --prefix=/usr/local && > make install" will do the right thing out of the box - by changing our > definition of "the right thing" to match what the GNU autotools have > been doing for at least 15 years. > > 4) Remove the hardcoded library path in lang/gcc* > > This makes it possible to work on software that includes both libraries > and programs while an earlier copy of the same software is already > installed. With the current state of gcc, the programs you are working > on will be linked against the version of the library that's already > installed instead of the version you just compiled, and there is nothing unless you use --sysroot=... > you can do to prevent it. You won't notice anything if all you ever do > is "make && make install", because the new library will replace the old, > but if you try to run your program directly from the build tree, it will > use the wrong library. This can be incredibly frustrating if you're not > aware of it - imagine you're trying to fix a bug in that library and no > matter what you do, your regression test keeps failing... > > DES