sys-libs/glibc: specify sbin in src_configure.
authorBenda Xu <heroxbd@gentoo.org>
Sun, 19 Jun 2016 22:46:27 +0000 (07:46 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sun, 19 Jun 2016 23:19:11 +0000 (08:19 +0900)
  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

index 5ba094aa01ccc6eece4cbd82a3cae0b241d8138b..396bce52ca2915a17cf33a8a856b259578d05f06 100644 (file)
@@ -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,