Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651958 - [Future EAPI] econf should pass --datarootdir
Summary: [Future EAPI] econf should pass --datarootdir
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: PMS/EAPI
Whiteboard: in-eapi-8
Depends on:
Blocks: future-eapi
  Show dependency tree
Reported: 2018-03-30 03:03 UTC by Michał Górny
Modified: 2021-06-13 20:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-30 03:03:49 UTC
This variable has been apparently added in autoconf 2.60 which would explain why it's not in PMS.

The idea is that datadir is the directory where program expects to find its own data while datarootdir is the one where 'global' data files are installed (l10n, desktop files, manpages etc.)

Passing it normally wouldn't make a difference. It would for packages where we are overriding --prefix and that are installing datarootdir files other than info/man. So it's mostly a change for consistency rather than actual gain.
Comment 1 Ulrich Müller gentoo-dev 2019-03-04 08:15:35 UTC
The value passed would be the same as for --datadir, i.e. "${EPREFIX}/usr/share"?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-04 09:59:43 UTC
Comment 3 Larry the Git Cow gentoo-dev 2021-06-13 19:19:02 UTC
The bug has been referenced in the following commit(s):

commit 5001b56490c821aa8e77f67f9e9bb62e804fa129
Author:     Michał Górny <>
AuthorDate: 2019-12-24 09:46:26 +0000
Commit:     Ulrich Müller <>
CommitDate: 2021-06-05 08:55:38 +0000

    EAPI 8 has econf passing --datarootdir
    Signed-off-by: Michał Górny <>
    Signed-off-by: Ulrich Müller <>

 eapi-differences.tex |  3 ++-
 pkg-mgr-commands.tex | 17 +++++++++++------
 2 files changed, 13 insertions(+), 7 deletions(-)