summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-06-20 07:46:27 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-20 08:19:11 +0900
commitbf9204c03a17020dd840145b26fd1b5a5ee35127 (patch)
tree73441d3da988914e634352c541a4aaac1b5b2fdd /sys-libs/glibc/files
parentnet-misc/iputils: remove EPREFIX from dosym. (diff)
downloadgentoo-bf9204c03a17020dd840145b26fd1b5a5ee35127.tar.gz
gentoo-bf9204c03a17020dd840145b26fd1b5a5ee35127.tar.bz2
gentoo-bf9204c03a17020dd840145b26fd1b5a5ee35127.zip
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
Diffstat (limited to 'sys-libs/glibc/files')
-rw-r--r--sys-libs/glibc/files/eblits/src_configure.eblit1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-libs/glibc/files/eblits/src_configure.eblit b/sys-libs/glibc/files/eblits/src_configure.eblit
index 5ba094aa01cc..396bce52ca29 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,