commit:     bf9204c03a17020dd840145b26fd1b5a5ee35127
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 22:46:27 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 23:19:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf9204c0

sys-libs/glibc: specify sbin in src_configure.

  In configure when prefix=/usr, libc_cv_rootsbindir
  is set to /sbin instead of /usr/sbin.  The same does
  not apply if prefix=EPREFIX/usr.  We force it in Prefix
  to be consistant.

Package-Manager: portage-2.2.28

 sys-libs/glibc/files/eblits/src_configure.eblit | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/glibc/files/eblits/src_configure.eblit 
b/sys-libs/glibc/files/eblits/src_configure.eblit
index 5ba094a..396bce5 100644
--- a/sys-libs/glibc/files/eblits/src_configure.eblit
+++ b/sys-libs/glibc/files/eblits/src_configure.eblit
@@ -132,6 +132,7 @@ glibc_do_configure() {
 
        # There is no configure option for this and we need to export it
        # since the glibc build will re-run configure on itself
+       export libc_cv_rootsbindir="${EPREFIX}/sbin"
        export libc_cv_slibdir="${EPREFIX}/$(get_libdir)"
 
        # We take care of patching our binutils to use both hash styles,

Reply via email to