Lines 1-6
Link Here
|
1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040808-r1.ebuild,v 1.52 2006/01/11 01:04:30 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040808-r1.ebuild,v 1.51 2005/12/03 00:55:13 vapier Exp $ |
4 |
|
4 |
|
5 |
inherit eutils multilib flag-o-matic toolchain-funcs versionator |
5 |
inherit eutils multilib flag-o-matic toolchain-funcs versionator |
6 |
|
6 |
|
Lines 666-686
Link Here
|
666 |
# some silly people set LD_RUN_PATH and that breaks things. |
666 |
# some silly people set LD_RUN_PATH and that breaks things. |
667 |
# see bug 19043 |
667 |
# see bug 19043 |
668 |
unset LD_RUN_PATH |
668 |
unset LD_RUN_PATH |
|
|
669 |
# Pick out the correct location for build headers |
670 |
local headersloc=$(alt_headers) |
671 |
tc-is-cross-compiler && headersloc=${ROOT}${headersloc} |
669 |
|
672 |
|
670 |
einfo "Configuring GLIBC..." |
673 |
einfo "Configuring GLIBC..." |
671 |
rm -rf ${WORKDIR}/build |
674 |
rm -rf ${WORKDIR}/build |
672 |
mkdir -p ${WORKDIR}/build |
675 |
mkdir -p ${WORKDIR}/build |
673 |
cd ${WORKDIR}/build |
676 |
cd ${WORKDIR}/build |
674 |
# Pick out the correct location for build headers |
|
|
675 |
local headersloc=$(alt_headers) |
676 |
tc-is-cross-compiler && headersloc=${ROOT}${headersloc} |
677 |
${S}/configure \ |
677 |
${S}/configure \ |
678 |
--build=${CHOST} \ |
678 |
--build=${CHOST} \ |
679 |
--host=${CTARGET} \ |
679 |
--host=${CTARGET} \ |
680 |
--disable-profile \ |
680 |
--disable-profile \ |
681 |
--without-gd \ |
681 |
--without-gd \ |
682 |
--without-cvs \ |
682 |
--without-cvs \ |
683 |
--with-headers=${headersloc} \ |
683 |
--with-headers=$(headersloc) \ |
684 |
--prefix=$(alt_prefix) \ |
684 |
--prefix=$(alt_prefix) \ |
685 |
--mandir=$(alt_prefix)/share/man \ |
685 |
--mandir=$(alt_prefix)/share/man \ |
686 |
--infodir=$(alt_prefix)/share/info \ |
686 |
--infodir=$(alt_prefix)/share/info \ |