diff options
author | Benda Xu <heroxbd@gentoo.org> | 2016-06-02 17:07:09 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2016-06-02 17:08:07 +0900 |
commit | a0b8f3652b5a1aa4dc766d9652fb72aeb15e0a32 (patch) | |
tree | df12d20886f0736be06afede7261902b711bae8c /sys-libs/glibc/files/eblits/src_configure.eblit | |
parent | dev-vcs/tortoisehg: Bump to version 3.8.3 (diff) | |
download | gentoo-a0b8f3652b5a1aa4dc766d9652fb72aeb15e0a32.tar.gz gentoo-a0b8f3652b5a1aa4dc766d9652fb72aeb15e0a32.tar.bz2 gentoo-a0b8f3652b5a1aa4dc766d9652fb72aeb15e0a32.zip |
sys-libs/glibc/files/eblits: Prefix support.
Bug: 473728
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-libs/glibc/files/eblits/src_configure.eblit')
-rw-r--r-- | sys-libs/glibc/files/eblits/src_configure.eblit | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys-libs/glibc/files/eblits/src_configure.eblit b/sys-libs/glibc/files/eblits/src_configure.eblit index be6f52cb99d1..5ecf9ab737a9 100644 --- a/sys-libs/glibc/files/eblits/src_configure.eblit +++ b/sys-libs/glibc/files/eblits/src_configure.eblit @@ -105,11 +105,11 @@ glibc_do_configure() { $(use_enable profile) $(use_with gd) --with-headers=$(alt_build_headers) - --prefix=/usr - --libdir=/usr/$(get_libdir) - --mandir=/usr/share/man - --infodir=/usr/share/info - --libexecdir=/usr/$(get_libdir)/misc/glibc + --prefix="${EPREFIX}/usr" + --libdir='$(prefix)'/$(get_libdir) + --mandir='$(prefix)'/share/man + --infodir='$(prefix)'/share/info + --libexecdir='$(libdir)'/misc/glibc --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion="$(glibc_banner)" $(use_multiarch || echo --disable-multi-arch) @@ -130,7 +130,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_slibdir=/$(get_libdir) + export libc_cv_slibdir="${EPREFIX}/$(get_libdir)" # We take care of patching our binutils to use both hash styles, # and many people like to force gnu hash style only, so disable @@ -236,7 +236,7 @@ toolchain-glibc_headers_configure() { --build=${CBUILD_OPT:-${CBUILD}} --host=${CTARGET_OPT:-${CTARGET}} --with-headers=$(alt_build_headers) - --prefix=/usr + --prefix="${EPREFIX}/usr" ${EXTRA_ECONF} ) |