>>>>> 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

Reply via email to