summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-03-03 22:33:26 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-03-03 22:33:26 +0000
commitce200564c4c1c9677d75c69f47b334f0f7c0e043 (patch)
tree48f991dc5907ea2c4435e3cf6a41279992285421 /sys-libs
parentupdated changelog (diff)
downloadhistorical-ce200564c4c1c9677d75c69f47b334f0f7c0e043.tar.gz
historical-ce200564c4c1c9677d75c69f47b334f0f7c0e043.tar.bz2
historical-ce200564c4c1c9677d75c69f47b334f0f7c0e043.zip
A couple more crosscompile fixes.
Package-Manager: portage-2.0.51.18
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/Manifest68
-rw-r--r--sys-libs/glibc/glibc-2.3.4.20041102.ebuild9
-rw-r--r--sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild39
-rw-r--r--sys-libs/glibc/glibc-2.3.4.20050125.ebuild6
4 files changed, 67 insertions, 55 deletions
diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index db7479219a7a..41ca876caa2a 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -1,20 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 6cd08b1d4a5b645cb759945a35b50c7a ChangeLog 68292
+MD5 5529417ce5503c488b1ccaaa2e781799 glibc-2.2.5-r9.ebuild 10915
MD5 19b845756fd8e974c113e904396b9627 glibc-2.3.2-r12.ebuild 22153
MD5 1dee5d2dea67ffe479a0005cc7da35ce glibc-2.3.3.20040420-r2.ebuild 21626
MD5 767c346185a37cd59e79614af21e9d7b glibc-2.3.4.20040619-r2.ebuild 21251
-MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
MD5 aec4e31cb25fa6043f71ca4940acaae6 glibc-2.3.4.20040808-r1.ebuild 27641
-MD5 cca6e9d651542468c4ff0b566ed2a0aa glibc-2.3.4.20041102.ebuild 32991
+MD5 ab06008394eb7c6aa17a674cae788eef glibc-2.3.4.20041102.ebuild 32888
+MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
MD5 b85c16a0e65a32784335e40fb0edac0e glibc-2.2.5-r10.ebuild 4418
-MD5 8b6ce6b8088ac791d59133a2ed326e45 glibc-2.3.4.20050125.ebuild 35260
-MD5 5529417ce5503c488b1ccaaa2e781799 glibc-2.2.5-r9.ebuild 10915
-MD5 8524f6d3f097feb5626f4aab4146107d glibc-2.3.4.20050125-r1.ebuild 36085
+MD5 695f1e83d1cb212d83d97f0d2989cb94 glibc-2.3.4.20050125.ebuild 35240
+MD5 69d50068b267a3d2f3e5ea86dcd0727f glibc-2.3.4.20050125-r1.ebuild 36013
MD5 9cc1e6b6f749dba7c8759bd07266f7d9 files/digest-glibc-2.2.5-r9 143
MD5 2d5306ef875573750af642a9f93b634a files/digest-glibc-2.3.2-r12 312
MD5 42af7e35fe2404a49954f91fd1aee891 files/digest-glibc-2.3.3.20040420-r2 312
MD5 470f57fe18dd0a94cb4a4d6cf51528af files/digest-glibc-2.3.4.20040619-r2 307
MD5 2f05d3181e9a9ded61e074147af47e8e files/digest-glibc-2.3.4.20040808-r1 382
-MD5 5f2690b0a60b336ec8f26fa3a8898361 files/digest-glibc-2.3.4.20050125 371
+MD5 75b85b24e4ded1b0e8a0a762d5805818 files/digest-glibc-2.3.4.20041102 383
MD5 e4393f4721a207750581d6265d5f7f40 files/fix-sysctl_h.patch 376
MD5 52cfc7627fc62dfb26d8d163aac361f6 files/glibc-2.2.2-test-lfs-timeout.patch 320
MD5 135f8145885a2f4f9876fe973f33ddf6 files/glibc-2.2.4-string2.h.diff 5221
@@ -28,7 +31,7 @@ MD5 bedcd868a9462009158714238594173c files/nscd 964
MD5 2013443f5192d4b999953ba4248d288c files/nscd.conf 1158
MD5 d8830438ea871dbfd1acf7a3d0299159 files/test-__thread.c 53
MD5 4404ee4b6e3017819d8f36082e0265e5 files/test-sysctl_h.c 54
-MD5 75b85b24e4ded1b0e8a0a762d5805818 files/digest-glibc-2.3.4.20041102 383
+MD5 5f2690b0a60b336ec8f26fa3a8898361 files/digest-glibc-2.3.4.20050125 371
MD5 bed7cbcac1e8582deda43664e5b3f19c files/digest-glibc-2.2.5-r10 290
MD5 26382a327ae4a10cfafceb20ca2c2f9c files/digest-glibc-2.3.4.20050125-r1 436
MD5 f75ebd335c4b882013cc12229d39c9f7 files/2.2.5/glibc-2.2.5-alpha-gcc3-fix.diff 475
@@ -62,9 +65,11 @@ MD5 d84791059f1b4e7b157b3bbefe783208 files/2.3.1/glibc-2.3.1-stack_end-compat.pa
MD5 dc18731db5bd28b8bd2074fc9177fd35 files/2.3.1/glibc23-07-hppa-atomicity.dpatch 2519
MD5 080146d608b878d517b5cf4c29f0ef08 files/2.3.2/glibc-2.3.2-alpha-crti.patch 378
MD5 9ef93639d5016677d41e5ec986fcb7f5 files/2.3.2/glibc-2.3.2-alpha-pwrite.patch 918
+MD5 d7097bf7fe910f2cba6ec69f86eb1958 files/2.3.2/glibc-2.3.2-alpha-sysdeps.patch 939
MD5 afa967d5fea8e467dda9c588f5600ed1 files/2.3.2/glibc-2.3.2-amd64-nomultilib.patch 506
MD5 523558956091d4ffcd33b72c57ac4bac files/2.3.2/glibc-2.3.2-arm-bus-defines.patch 276
MD5 cfce14f1f90a3903ed076a5209198ce5 files/2.3.2/glibc-2.3.2-armformat.patch 416
+MD5 fa3bf332c71b0b5af56b536564abc480 files/2.3.2/glibc-2.3.2-assert.patch 1596
MD5 855edac3c5abd21b4617408d4e3b5ae3 files/2.3.2/glibc-2.3.2-cispeed-cospeed-fix.patch 2424
MD5 2f6605aae9bc4e538af783c0b2be3a7f files/2.3.2/glibc-2.3.2-decc-compaq.patch 1422
MD5 1a926f1adc2f321abb31b1e11024e3ac files/2.3.2/glibc-2.3.2-dl-reloc-calc-fix.patch 1405
@@ -95,47 +100,52 @@ MD5 3eeb5a5b2f01b1fdb7a4af923e5b0cec files/2.3.2/glibc-2.3.2-s390-deprecated-ust
MD5 7b6054c2e8ec654341690586bc2028c5 files/2.3.2/glibc-2.3.2-signal-ssp.diff 1431
MD5 0e3ced9c3c484f502dcade7ffffa15f4 files/2.3.2/ssp.c 3935
MD5 250d09cb52d2c3c7f6b0c4e0a1bf47f2 files/2.3.2/sysmacros.h 2443
-MD5 d7097bf7fe910f2cba6ec69f86eb1958 files/2.3.2/glibc-2.3.2-alpha-sysdeps.patch 939
-MD5 fa3bf332c71b0b5af56b536564abc480 files/2.3.2/glibc-2.3.2-assert.patch 1596
MD5 0e27dbd2a3b85a0e14625294296fad9a files/2.3.3/glibc-2.3.2-propolice-guard-functions-v3.patch 1986
MD5 1b5df7c58ad160593192704cece47347 files/2.3.3/glibc-2.3.3-dl_execstack-PaX-support.patch 1791
MD5 62f7e62583aaa70645d9c847b6a84299 files/2.3.3/glibc-2.3.3-frandom-detect.patch 1770
MD5 ec83f3d86f23243a1fb334b8872d454f files/2.3.3/glibc-2.3.3-localedef-fix-trampoline.patch 2329
+MD5 ca1d4648f72e5fea2858fdb6ea3d39a0 files/2.3.3/glibc-2.3.3-mips-addabi.diff 1720
+MD5 f9343413b90877edfcaeedf89b3dec77 files/2.3.3/glibc-2.3.3-mips-nolib3264.diff 1166
+MD5 81d95470c5766e56e27ad8b6967d2a16 files/2.3.3/glibc-2.3.3-mips-semtimedop.diff 602
+MD5 847afe57e19abff1d5c49f6bb7084a3d files/2.3.3/glibc-2.3.3-mips-syscall.h.diff 1199
+MD5 84fa9a725c22975d735a2f91543a5cca files/2.3.3/glibc-2.3.3-mips-sysify.diff 2138
MD5 0bfc56be86acec8ec52fe29249e267a4 files/2.3.3/glibc-2.3.3-owl-malloc-unlink-sanity-check.diff 1425
+MD5 ff0a2716aebc6fb8a2e3b3f2c9be8bba files/2.3.3/glibc-2.3.3-tempfile.patch 1787
MD5 175bde9b0017d4deb63cf55f38173e11 files/2.3.3/glibc-2.3.3_pre20040117-got-fix.diff 752
MD5 a3eb98943bc9db66df33bfc08dea4c2e files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff 1470
MD5 7b6054c2e8ec654341690586bc2028c5 files/2.3.3/glibc-2.3.3_pre20040117-signal-ssp.diff 1431
MD5 86626ba8df9cac083bb3e1cfe23ec07e files/2.3.3/glibc-2.3.3_pre20040420-mips-dl-machine-calls.diff 1497
MD5 ab91cb5bad07e1e79f990d4933741d42 files/2.3.3/glibc-2.3.3_pre20040420-mips-incl-sgidefs.diff 8287
MD5 ae9425cd4199cccd69c6d22633583dc1 files/2.3.3/ssp.c 4041
-MD5 ff0a2716aebc6fb8a2e3b3f2c9be8bba files/2.3.3/glibc-2.3.3-tempfile.patch 1787
-MD5 ca1d4648f72e5fea2858fdb6ea3d39a0 files/2.3.3/glibc-2.3.3-mips-addabi.diff 1720
-MD5 f9343413b90877edfcaeedf89b3dec77 files/2.3.3/glibc-2.3.3-mips-nolib3264.diff 1166
-MD5 81d95470c5766e56e27ad8b6967d2a16 files/2.3.3/glibc-2.3.3-mips-semtimedop.diff 602
-MD5 847afe57e19abff1d5c49f6bb7084a3d files/2.3.3/glibc-2.3.3-mips-syscall.h.diff 1199
-MD5 84fa9a725c22975d735a2f91543a5cca files/2.3.3/glibc-2.3.3-mips-sysify.diff 2138
-MD5 03e0e9a2235886c0abbe98bdafd0d5ce files/2.3.4/glibc-2.3.4-hardened-sysdep-shared.patch 382
-MD5 659a9d64935d67a5938d0cb4e5fe4899 files/2.3.4/glibc-2.3.4-hppa-hardened-disable__init_arrays.patch 2310
-MD5 207e313566b3fc24e0a5ca2ffd2da1d9 files/2.3.4/glibc-2.3.4-nptl-altivec.patch 6140
-MD5 340825c77e38e88e0ceaa12f154cbfa3 files/2.3.4/glibc-2.3.4.20040808-i386-got-fix.diff 4203
-MD5 16f18501efd56811e724231470dc5d00 files/2.3.4/glibc-2.3.4-ld.so-brk-fix.patch 2562
-MD5 e109c03013bd08a2b96e2c2ca9017a4b files/2.3.4/glibc-gentoo-libdir.patch 1347
+MD5 9db90105eb74d75834d25a599cba97ea files/2.3.4/glibc-2.3.3-mdns-resolver2.diff 12272
MD5 89a6d0d924c8b05c4e06bdffb7c69b41 files/2.3.4/glibc-2.3.4-arm-ioperm.patch 4037
-MD5 7960564130a698073bdd3597a781e39b files/2.3.4/glibc-2.3.4-nptl-pthread.h-g++-fix.patch 3304
MD5 9ee1438ba6ac30363130330c996dbb84 files/2.3.4/glibc-2.3.4-dl_execstack-PaX-support.patch 1443
-MD5 bbe355d94c5a36e11f543d12b70b5702 files/2.3.4/glibc-sec-hotfix-20040916.patch 3080
-MD5 9db90105eb74d75834d25a599cba97ea files/2.3.4/glibc-2.3.3-mdns-resolver2.diff 12272
-MD5 7fca8a203196513f13e519903dedbfd5 files/2.3.4/glibc-2.3.4-getcontext.patch 9854
-MD5 d490f38bd9ca9c48a9799f1e48629f6e files/2.3.4/glibc-2.3.4-mips-generate-syscall_h.patch 8230
-MD5 fe21fd44628b90f50e5024462cf4c348 files/2.3.4/glibc-2.3.4-res_init.patch 3417
+MD5 d902a9d990ee2970dd55dd805f352fa7 files/2.3.4/glibc-2.3.4-features-header-fix.patch 449
MD5 ad71dc5c3f84f026c6e28865b2e90fbb files/2.3.4/glibc-2.3.4-fedora-branch-no-force-nontls.patch 2337
MD5 973e31ce24c9622234c4293b367de6b3 files/2.3.4/glibc-2.3.4-fedora-branch-no-libnoversion.patch 2288
-MD5 b72e5aca6d834026a6f5fb87623e6fd3 files/2.3.4/host.conf 1302
-MD5 d902a9d990ee2970dd55dd805f352fa7 files/2.3.4/glibc-2.3.4-features-header-fix.patch 449
MD5 1974267b1382fb38be7495b12c847f70 files/2.3.4/glibc-2.3.4-fedora-branch-nomalloccheck.patch 372
+MD5 7fca8a203196513f13e519903dedbfd5 files/2.3.4/glibc-2.3.4-getcontext.patch 9854
+MD5 03e0e9a2235886c0abbe98bdafd0d5ce files/2.3.4/glibc-2.3.4-hardened-sysdep-shared.patch 382
+MD5 659a9d64935d67a5938d0cb4e5fe4899 files/2.3.4/glibc-2.3.4-hppa-hardened-disable__init_arrays.patch 2310
+MD5 16f18501efd56811e724231470dc5d00 files/2.3.4/glibc-2.3.4-ld.so-brk-fix.patch 2562
MD5 076484ade8a834efb73190b687196392 files/2.3.4/glibc-2.3.4-mdns-resolver-20041102.diff 12809
MD5 41cec3deb89ffdbd670024a2b615b819 files/2.3.4/glibc-2.3.4-mips-add-missing-sgidefs_h.patch 1196
+MD5 d490f38bd9ca9c48a9799f1e48629f6e files/2.3.4/glibc-2.3.4-mips-generate-syscall_h.patch 8230
MD5 03b2b9cfe46d287c2a28df70e7a9e9a1 files/2.3.4/glibc-2.3.4-mips-prot_grows-undefined.patch 1410
MD5 8d43dc97fe220048ade220f23e84f006 files/2.3.4/glibc-2.3.4-mips-rtld_deepbind-undefined.patch 1425
MD5 1185022e9a50560d1bf9116a0461e011 files/2.3.4/glibc-2.3.4-mips-sysdep-cancel.diff 2402
MD5 039f62650037a4a15cef3066b26d27c9 files/2.3.4/glibc-2.3.4-mips-update-__throw.patch 1975
+MD5 207e313566b3fc24e0a5ca2ffd2da1d9 files/2.3.4/glibc-2.3.4-nptl-altivec.patch 6140
+MD5 7960564130a698073bdd3597a781e39b files/2.3.4/glibc-2.3.4-nptl-pthread.h-g++-fix.patch 3304
+MD5 fe21fd44628b90f50e5024462cf4c348 files/2.3.4/glibc-2.3.4-res_init.patch 3417
+MD5 340825c77e38e88e0ceaa12f154cbfa3 files/2.3.4/glibc-2.3.4.20040808-i386-got-fix.diff 4203
+MD5 e109c03013bd08a2b96e2c2ca9017a4b files/2.3.4/glibc-gentoo-libdir.patch 1347
+MD5 bbe355d94c5a36e11f543d12b70b5702 files/2.3.4/glibc-sec-hotfix-20040916.patch 3080
+MD5 b72e5aca6d834026a6f5fb87623e6fd3 files/2.3.4/host.conf 1302
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCJ5EwArHZZzCEUG0RAkWYAJ9yfbox7ey2lsvI3UTrbk5oGSlqCgCfeWtF
+w+qr/ssKexsRD7jiLE4iqQ8=
+=3OS+
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/glibc/glibc-2.3.4.20041102.ebuild b/sys-libs/glibc/glibc-2.3.4.20041102.ebuild
index da74f4f4c350..0075a64909e5 100644
--- a/sys-libs/glibc/glibc-2.3.4.20041102.ebuild
+++ b/sys-libs/glibc/glibc-2.3.4.20041102.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20041102.ebuild,v 1.46 2005/02/16 16:58:42 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20041102.ebuild,v 1.47 2005/03/03 22:33:26 eradicator Exp $
inherit eutils multilib flag-o-matic toolchain-funcs versionator
@@ -50,9 +50,7 @@ LICENSE="LGPL-2"
[[ ${CTARGET} != ${CHOST} ]] \
&& SLOT="${CTARGET}-2.2" \
|| SLOT="2.2"
-#-sparc: Compiled fine with 3.4.1-r1, but tar would consistantly bus error when untarring the
-# samba-1.0.9 tarball.
-KEYWORDS="amd64 ppc64 -hppa ia64 ppc ~x86 ~mips -sparc"
+KEYWORDS="amd64 ppc64 -hppa ia64 ppc ~x86 ~mips ~sparc"
IUSE="nls pic build nptl nptlonly erandom hardened multilib debug userlocales nomalloccheck"
RESTRICT="nostrip multilib-pkg-force" # we'll handle stripping ourself #46186
@@ -695,7 +693,8 @@ glibc_do_configure() {
--prefix=$(alt_prefix)
--mandir=$(alt_prefix)/share/man
--infodir=$(alt_prefix)/share/info
- --libexecdir=$(alt_prefix)/lib/misc"
+ --libexecdir=$(alt_prefix)/lib/misc
+ ${EXTRA_ECONF}"
GBUILDDIR="${WORKDIR}/build-${ABI}-${CTARGET}-$1"
mkdir -p ${GBUILDDIR}
diff --git a/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild b/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild
index 7be814744d38..4bf37bfb6fc3 100644
--- a/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild,v 1.5 2005/03/03 05:00:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild,v 1.6 2005/03/03 22:33:26 eradicator Exp $
# Here's how the cross-compile logic breaks down ...
# CTARGET - machine that will target the binaries
@@ -63,6 +63,9 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
export CTARGET=${CATEGORY/cross-}
fi
fi
+is_crosscompile() {
+ [[ ${CHOST} != ${CTARGET} ]]
+}
GLIBC_RELEASE_VER=$(get_version_component_range 1-3)
@@ -304,7 +307,7 @@ toolchain-glibc_src_install() {
install || die
fi
- if tc-is-cross-compiler ; then
+ if is_crosscompile ; then
# Glibc doesn't setup multilib crosscompiled dirs right, but it
# sets up native multilib dirs right, so just do this when we
# crosscompile.
@@ -411,7 +414,7 @@ toolchain-glibc_src_install() {
#################################################################
# EVERYTHING AFTER THIS POINT IS FOR NATIVE GLIBC INSTALLS ONLY #
- tc-is-cross-compiler && return 0
+ is_crosscompile && return 0
# Everything past this point just needs to be done once... don't waste time building locale files twice...
is_final_abi || return 0
@@ -536,7 +539,7 @@ toolchain-glibc_pkg_postinst() {
# note: intentionally undocumented.
alt_headers() {
if [[ -z ${ALT_HEADERS} ]] ; then
- if [[ ${CTARGET} != ${CHOST} ]] ; then
+ if is_crosscompile ; then
ALT_HEADERS="/usr/${CTARGET}/include"
else
ALT_HEADERS="/usr/include"
@@ -546,7 +549,7 @@ alt_headers() {
}
alt_prefix() {
- if [[ ${CTARGET} != ${CHOST} ]] ; then
+ if is_crosscompile ; then
echo /usr/${CTARGET}
else
echo /usr
@@ -554,16 +557,16 @@ alt_prefix() {
}
alt_libdir() {
- if [[ ${CTARGET} != ${CHOST} ]] ; then
- echo /usr/${CTARGET}/$(get_libdir)
+ if is_crosscompile ; then
+ echo /usr/${CTARGET}/lib
else
echo /$(get_libdir)
fi
}
alt_usrlibdir() {
- if [[ ${CTARGET} != ${CHOST} ]] ; then
- echo /usr/${CTARGET}/$(get_libdir)
+ if is_crosscompile ; then
+ echo /usr/${CTARGET}/lib
else
echo /usr/$(get_libdir)
fi
@@ -615,7 +618,7 @@ setup_flags() {
else
if is-flag "-mcpu=ultrasparc3"; then
CHOST="sparcv9b-unknown-linux-gnu"
- elif { tc-is-cross-compiler && use nptl; } || is-flag "-mcpu=ultrasparc2" || is-flag "-mcpu=ultrasparc"; then
+ elif { is_crosscompile && use nptl; } || is-flag "-mcpu=ultrasparc2" || is-flag "-mcpu=ultrasparc"; then
CHOST="sparcv9-unknown-linux-gnu"
fi
fi
@@ -869,7 +872,7 @@ use_multilib() {
sparc)
case ${CHOST} in
sparc64*)
- tc-is-cross-compiler || has_multilib_profile || use multilib
+ is_crosscompile || has_multilib_profile || use multilib
;;
*)
false
@@ -879,7 +882,7 @@ use_multilib() {
mips)
case ${CHOST} in
mips64*)
- tc-is-cross-compiler || has_multilib_profile || use multilib
+ is_crosscompile || has_multilib_profile || use multilib
;;
*)
false
@@ -887,7 +890,7 @@ use_multilib() {
esac
;;
amd64|ppc64)
- tc-is-cross-compiler || has_multilib_profile || use multilib
+ is_crosscompile || has_multilib_profile || use multilib
;;
*)
false
@@ -897,7 +900,7 @@ use_multilib() {
# Setup toolchain variables that would be defined in the profiles for these archs.
crosscompile_setup() {
- if tc-is-cross-compiler; then
+ if is_crosscompile; then
local VAR="CFLAGS_"${CHOST//-/_}
local VAL=${!VAR}
@@ -981,7 +984,7 @@ crosscompile_setup() {
### /ECLASS PUNTAGE ###
-if [[ ${CHOST} != ${CTARGET} ]] ; then
+if is_crosscompile ; then
SLOT="${CTARGET}-2.2"
else
SLOT="2.2"
@@ -1071,7 +1074,7 @@ src_unpack() {
rm -f sysdeps/alpha/alphaev6/memcpy.S
;;
amd64)
- if ! has_multilib_profile && ! tc-is-cross-compiler; then
+ if ! has_multilib_profile && ! is_crosscompile; then
# CONF_LIBDIR support
epatch ${FILESDIR}/2.3.4/glibc-gentoo-libdir.patch
sed -i -e "s:@GENTOO_LIBDIR@:$(get_libdir):g" ${S}/sysdeps/unix/sysv/linux/configure
@@ -1098,7 +1101,7 @@ src_unpack() {
# Some configure checks fail on the first emerge through because they
# try to link. This doesn't work well if we don't have a libc yet.
# http://sourceware.org/ml/libc-alpha/2005-02/msg00042.html
- if tc-is-cross-compiler && ! has_version "${CATEGORY}/${PN}"; then
+ if is_crosscompile && ! has_version "${CATEGORY}/${PN}"; then
rm ${S}/sysdeps/sparc/sparc64/elf/configure{,.in}
rm ${S}/nptl/sysdeps/pthread/configure{,.in}
fi
@@ -1176,7 +1179,7 @@ src_install() {
# Handle stupid lib32 BS
unset OLD_LIBDIR
- if [[ $(tc-arch) == "amd64" && ${ABI} == "x86" && $(get_libdir) != "lib" ]] && ! tc-is-cross-compiler; then
+ if [[ $(tc-arch) == "amd64" && ${ABI} == "x86" && $(get_libdir) != "lib" ]] && ! is_crosscompile; then
OLD_LIBDIR="$(get_libdir)"
LIBDIR_x86="lib"
fi
diff --git a/sys-libs/glibc/glibc-2.3.4.20050125.ebuild b/sys-libs/glibc/glibc-2.3.4.20050125.ebuild
index fe7c427543bc..982111d88d6e 100644
--- a/sys-libs/glibc/glibc-2.3.4.20050125.ebuild
+++ b/sys-libs/glibc/glibc-2.3.4.20050125.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20050125.ebuild,v 1.30 2005/02/19 20:14:44 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20050125.ebuild,v 1.31 2005/03/03 22:33:26 eradicator Exp $
KEYWORDS="~amd64 ~mips ~sparc ~x86"
@@ -511,7 +511,7 @@ alt_prefix() {
alt_libdir() {
if tc-is-cross-compiler; then
- echo /usr/${CHOST}/$(get_libdir)
+ echo /usr/${CHOST}/lib
else
echo /$(get_libdir)
fi
@@ -519,7 +519,7 @@ alt_libdir() {
alt_usrlibdir() {
if tc-is-cross-compiler; then
- echo /usr/${CHOST}/$(get_libdir)
+ echo /usr/${CHOST}/lib
else
echo /usr/$(get_libdir)
fi