[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] econf's localstatedir default doesn't match GNU suggestions
From: Ulrich Mueller <ulm () gentoo ! org>
Date: 2012-01-28 6:07:27
Message-ID: 20259.37023.36248.611661 () a1i15 ! kph ! uni-mainz ! de
[Download RAW message or body]
>>>>> On Fri, 27 Jan 2012, W. Trevor King wrote:
> I'm curious abotu why econf uses
> "${EPREFIX}"/var/lib
> for the default value of localstatedir, when the GNU coding
> standards [1] and autoconf site default examples [2] both suggest
> $(prefix)/var
Right, and their $(prefix) defaults to /usr/local whereas ours
defaults to /usr. So the default localstatedir would be /usr/local/var
or /usr/var, respectively. While the former may make some sense, the
latter doesn't (and it violates the FHS).
> Not that it's a big deal to add
> src_configure()
> {
> econf --localstatedir="${EPREFIX}"/var
> }
> to an ebuild, but the missmatch is odd. [...]
That's not the same, the equivalent of $(prefix)/var is not
"${EPREFIX}"/var but "${EPREFIX}"/usr/var.
> [1]: http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
> [2]: http://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Site-Defaults.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic