diff options
author | Benda Xu <heroxbd@gentoo.org> | 2016-06-02 22:26:05 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2016-06-02 22:26:31 +0900 |
commit | 039850e0cd5448952d991196f615796cd59654e3 (patch) | |
tree | 2cbf83ac88f065c60b60c17aab56133c7ee86811 /sys-libs/glibc | |
parent | p/p/l-s/profile.bashrc: prefixify shell of make. (diff) | |
download | gentoo-039850e0cd5448952d991196f615796cd59654e3.tar.gz gentoo-039850e0cd5448952d991196f615796cd59654e3.tar.bz2 gentoo-039850e0cd5448952d991196f615796cd59654e3.zip |
sys-libs/glibc: add sysconfdir and localstatedir.
In Prefix, ${prefix} != /usr, sysconfdir defaults
to ${prefix}/etc and localstatedir to ${prefix}/var.
which results in EPREFIX/usr/{etc,var}.
This commit avoids that.
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r-- | sys-libs/glibc/files/eblits/src_configure.eblit | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-libs/glibc/files/eblits/src_configure.eblit b/sys-libs/glibc/files/eblits/src_configure.eblit index 5ecf9ab737a9..5ba094aa01cc 100644 --- a/sys-libs/glibc/files/eblits/src_configure.eblit +++ b/sys-libs/glibc/files/eblits/src_configure.eblit @@ -106,6 +106,8 @@ glibc_do_configure() { $(use_with gd) --with-headers=$(alt_build_headers) --prefix="${EPREFIX}/usr" + --sysconfdir="${EPREFIX}/etc" + --localstatedir="${EPREFIX}/var" --libdir='$(prefix)'/$(get_libdir) --mandir='$(prefix)'/share/man --infodir='$(prefix)'/share/info |