From owner-freebsd-ports@freebsd.org Thu Mar 9 16:46:39 2017 Return-Path: Delivered-To: freebsd-ports@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 CA76AD05D62 for ; Thu, 9 Mar 2017 16:46:39 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B600FCA2 for ; Thu, 9 Mar 2017 16:46:39 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: by mailman.ysv.freebsd.org (Postfix) id AF5D7D05D60; Thu, 9 Mar 2017 16:46:39 +0000 (UTC) Delivered-To: ports@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 AEBD6D05D5E; Thu, 9 Mar 2017 16:46:39 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [IPv6:2a01:4f8:d16:10c3::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 795DDCA0; Thu, 9 Mar 2017 16:46:39 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (unknown [IPv6:2601:18a:c301:8eee:9a6:c76b:7d:95c0]) by hz.citrin.ru (Postfix) with ESMTPSA id A4AB229A630; Thu, 9 Mar 2017 16:46:37 +0000 (UTC) Subject: Re: manpath change for ports ? To: Baptiste Daroussin , arch@FreeBSD.org, ports@FreeBSD.org References: <20170306235610.cmpxk27jhoafel6l@ivaldir.net> From: Anton Yuzhaninov Message-ID: Date: Thu, 9 Mar 2017 11:46:35 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170306235610.cmpxk27jhoafel6l@ivaldir.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1489077998; bh=cuJ0GeFQCtDo0TdtKReGo/w6k8USgyexEPxoAdy+Auc=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=HVC4xUmQn/eEp5sjcHIWpFVR65xor6NZYHbaqlVAK+UhxIcyIdNv85FVDHZW7KWXr+YNuYIZar6J67h+c/ENrr47XBfLv/Kms/qCJQ0emjHmgznKQBQxl3N92hSwdaS0yFEWm2LPbeFGPScNEL63nJ4jAUvQby4n9ZJMIY5LG9E= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2017 16:46:39 -0000 On 03/06/17 18:56, Baptiste Daroussin wrote: > I think we should add /usr/local/share/man in the manpath along with at first > and maybe instead of in long term. > > The reason is: > - /usr/local/share/man seems more consistent to me with base which have: > /usr/share/man > - It will remove lots of patches from the ports tree where were we need to patch > upstream build system to install in a non usual path. 1. During transition period having two trees for man pages - /usr/local/share/man and /usr/share/man will be additional headache. 2. When /usr/local/man will be removed some ports should be patched to use /usr/local/share/man instead /usr/local/man and we almost back to square one (with fewer ports to patch). 3. Patching man path is trivial comparing other challenges during porting software to FreeBSD. For me current situation with man path is not a big issue. 4. Linux Filesystem Hierarchy Standard has /usr/share/man but /usr/local/man Given all above I don't think this change is worth benefits it will have. Also when/if you will add /usr/local/share/man, please submit patch to cmake: https://gitlab.kitware.com/cmake/cmake/blob/master/Modules/GNUInstallDirs.cmake#L273 Currently cmake defines CMAKE_INSTALL_MANDIR to $PREFIX/man on FreeBSD.