From owner-freebsd-arch@freebsd.org Wed Mar 8 19:03:51 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 F067ED0387E for ; Wed, 8 Mar 2017 19:03:51 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E2303101E for ; Wed, 8 Mar 2017 19:03:51 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E1901D0387C; Wed, 8 Mar 2017 19:03:51 +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 E12A6D0387B; Wed, 8 Mar 2017 19:03:51 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C663E101D; Wed, 8 Mar 2017 19:03:51 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 23C5470F2; Wed, 8 Mar 2017 19:03:51 +0000 (UTC) To: bapt@FreeBSD.org, des@des.no Subject: Re: manpath change for ports ? Cc: arch@FreeBSD.org, ports@FreeBSD.org In-Reply-To: <86mvcvojzt.fsf@desk.des.no> Message-Id: <20170308190351.23C5470F2@freefall.freebsd.org> Date: Wed, 8 Mar 2017 19:03:51 +0000 (UTC) From: jbeich@freebsd.org (Jan Beich) 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 19:03:52 -0000 Dag-Erling Smørgrav writes: > 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. /usr/local is *the* default location according to GNU[1] and reinforced by FHS[2] which want it "safe from being overwritten when the system software is updated". Not on FreeBSD where site-local stuff like your example above and ports/packages trample on each other. NetBSD avoided the issue by moving /usr/local to /usr/pkg. [1] https://www.gnu.org/prep/standards/html_node/Directory-Variables.html [2] http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY