diff options
author | 2006-01-26 02:17:30 +0000 | |
---|---|---|
committer | 2006-01-26 02:17:30 +0000 | |
commit | 51dca9f26befcd14b8878e8bf2cbde859dabbe65 (patch) | |
tree | 0844585a759a07b01735aadcef59bafce1319042 /sys-libs/glibc/glibc-2.3.6-r2.ebuild | |
parent | Only install the NeXT icon set if neXt is in USE; New upstream version; Port ... (diff) | |
download | gentoo-2-51dca9f26befcd14b8878e8bf2cbde859dabbe65.tar.gz gentoo-2-51dca9f26befcd14b8878e8bf2cbde859dabbe65.tar.bz2 gentoo-2-51dca9f26befcd14b8878e8bf2cbde859dabbe65.zip |
Define alt_build_headers for the --with-headers option and for checking for nptl support #114923.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-libs/glibc/glibc-2.3.6-r2.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.3.6-r2.ebuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-libs/glibc/glibc-2.3.6-r2.ebuild b/sys-libs/glibc/glibc-2.3.6-r2.ebuild index 3db306506f3e..922126e33c67 100644 --- a/sys-libs/glibc/glibc-2.3.6-r2.ebuild +++ b/sys-libs/glibc/glibc-2.3.6-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.6-r2.ebuild,v 1.12 2006/01/25 04:39:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.6-r2.ebuild,v 1.13 2006/01/26 02:17:30 vapier Exp $ # TODO: # - fix warning from glibc build system: @@ -266,8 +266,6 @@ toolchain-glibc_headers_compile() { cd "${GBUILDDIR}" # Pick out the correct location for build headers - local headersloc=$(alt_headers) - tc-is-cross-compiler && headersloc=${ROOT}${headersloc} local myconf="--disable-sanity-checks --enable-hacker-mode" myconf="${myconf} --enable-add-ons=linuxthreads @@ -275,7 +273,7 @@ toolchain-glibc_headers_compile() { --enable-bind-now --build=${CBUILD_OPT:-${CBUILD}} --host=${CTARGET_OPT:-${CTARGET}} - --with-headers=${headersloc} + --with-headers=$(alt_build_headers) --prefix=$(alt_prefix) --mandir=$(alt_prefix)/share/man --infodir=$(alt_prefix)/share/info |