From 5b6a6bb360ca4244591d6640e9bb169126f4c130 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 7 Apr 2007 11:13:33 +0000 Subject: [PATCH] Install hostutils (ldd/ldconfig) for cross-compilers #172207. Package-Manager: portage-2.1.2.3 --- sys-libs/uclibc/ChangeLog | 5 ++++- sys-libs/uclibc/Manifest | 22 +++++++++++----------- sys-libs/uclibc/uclibc-0.9.28.3.ebuild | 12 +++++++----- 3 files changed, 22 insertions(+), 17 deletions(-) diff --git a/sys-libs/uclibc/ChangeLog b/sys-libs/uclibc/ChangeLog index 8f5ad4aebb7f..920877bd02f1 100644 --- a/sys-libs/uclibc/ChangeLog +++ b/sys-libs/uclibc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/uclibc # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/ChangeLog,v 1.20 2007/03/25 15:14:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/ChangeLog,v 1.21 2007/04/07 11:13:33 vapier Exp $ + + 07 Apr 2007; Mike Frysinger uclibc-0.9.28.3.ebuild: + Install hostutils (ldd/ldconfig) for cross-compilers #172207. *uclibc-0.9.28.3 (25 Mar 2007) diff --git a/sys-libs/uclibc/Manifest b/sys-libs/uclibc/Manifest index c2381d067517..b527ff619244 100644 --- a/sys-libs/uclibc/Manifest +++ b/sys-libs/uclibc/Manifest @@ -29,18 +29,18 @@ EBUILD uclibc-0.9.28.1.ebuild 14075 RMD160 5544fbd4a358e30454b1ebc2de3590d76430d MD5 7d5a8140274e1aa663a40ac5a1d3e359 uclibc-0.9.28.1.ebuild 14075 RMD160 5544fbd4a358e30454b1ebc2de3590d76430d884 uclibc-0.9.28.1.ebuild 14075 SHA256 1aceee354b3b7056af6967904c78d0d32b63597db56b3a063f350f5581dca93b uclibc-0.9.28.1.ebuild 14075 -EBUILD uclibc-0.9.28.3.ebuild 14107 RMD160 e75027f76cad2005a2ff8f64581234200a3076c5 SHA1 49b04e00cda429f093d72da3ebe5ea9f5a203210 SHA256 b05265264499560f0ae00df11762e0c45044858f577a1b5d954e6543d154a161 -MD5 c3a8b1ed49aa54840ee9191ab7c527b0 uclibc-0.9.28.3.ebuild 14107 -RMD160 e75027f76cad2005a2ff8f64581234200a3076c5 uclibc-0.9.28.3.ebuild 14107 -SHA256 b05265264499560f0ae00df11762e0c45044858f577a1b5d954e6543d154a161 uclibc-0.9.28.3.ebuild 14107 +EBUILD uclibc-0.9.28.3.ebuild 14267 RMD160 b36cf8240215bdf85bfa533b200082c2c0c8bcdb SHA1 07cfc7f6a0f41f078121485af45222c5ca197ab1 SHA256 ac628bf8088772ede1ef891a6044306895722035bbfcda1463c9bff94e45f17d +MD5 09f9491a6700edeed766da5fcdc3dcd1 uclibc-0.9.28.3.ebuild 14267 +RMD160 b36cf8240215bdf85bfa533b200082c2c0c8bcdb uclibc-0.9.28.3.ebuild 14267 +SHA256 ac628bf8088772ede1ef891a6044306895722035bbfcda1463c9bff94e45f17d uclibc-0.9.28.3.ebuild 14267 EBUILD uclibc-0.9.28.ebuild 14027 RMD160 976d669db31c071e60ca44bd2f37107e8b3642a3 SHA1 eb86b00811ab2a99e740787216f9853422f5fb87 SHA256 f0fb5bdb7cac67f05b94be0417c5522846153622d2fea21aba5f695f2897eb54 MD5 76353aef0949a0be72910995e1f945d7 uclibc-0.9.28.ebuild 14027 RMD160 976d669db31c071e60ca44bd2f37107e8b3642a3 uclibc-0.9.28.ebuild 14027 SHA256 f0fb5bdb7cac67f05b94be0417c5522846153622d2fea21aba5f695f2897eb54 uclibc-0.9.28.ebuild 14027 -MISC ChangeLog 10956 RMD160 8e1e0057a7c49031b802050d4ab00377b434b9cb SHA1 e9e4fc1773dd0f0eed520f6d35a7cccdd92db8f9 SHA256 1338e818a8c2e34716f60c9e36b93efca2872dd8b69db8f4500cb4e26ac6d9f9 -MD5 28a6789d264691cdd2edc2126ebd167d ChangeLog 10956 -RMD160 8e1e0057a7c49031b802050d4ab00377b434b9cb ChangeLog 10956 -SHA256 1338e818a8c2e34716f60c9e36b93efca2872dd8b69db8f4500cb4e26ac6d9f9 ChangeLog 10956 +MISC ChangeLog 11095 RMD160 019449464987a6c73f3e4ffb221fcb49aaa69c88 SHA1 f0473daf2a8bfda0efb2f27e49714ee8803ec642 SHA256 119bb746cf7aaeb33cd971f07e144ff23af6ced62136dcce2b7c5062c739a16e +MD5 c415656bd31aa971edffedb584364c99 ChangeLog 11095 +RMD160 019449464987a6c73f3e4ffb221fcb49aaa69c88 ChangeLog 11095 +SHA256 119bb746cf7aaeb33cd971f07e144ff23af6ced62136dcce2b7c5062c739a16e ChangeLog 11095 MISC metadata.xml 999 RMD160 8367607c1e522c03d21a0f0ce68b316d42bd08cb SHA1 0433f3a405603e702c155ec67f67cb95bf628a1c SHA256 0be91c12da3e7c119ee885d360c0e983a69f0141614902bb2de6c54c08d4c56c MD5 e96b4dfc373a1cdf7735aeae52c4cf7e metadata.xml 999 RMD160 8367607c1e522c03d21a0f0ce68b316d42bd08cb metadata.xml 999 @@ -66,7 +66,7 @@ SHA256 70be88af804ec2642625ef9d0ef0feed1f6eaddaa08a3134bdb4640b83ddce8d files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFGBpH78bi6rjpTunYRAv4rAKDcMb/EL4+Jexe6QneVo9ZEn7t6pACfby21 -KQ078BdDMiAN4iMgie0hHQo= -=xSHa +iD8DBQFGF3z18bi6rjpTunYRAlS+AJ9spIyPNi3C90at61dQxP6I9QkISwCfUycW +6RuasYbAjuRE0O+gE2iB1Dk= +=MRRD -----END PGP SIGNATURE----- diff --git a/sys-libs/uclibc/uclibc-0.9.28.3.ebuild b/sys-libs/uclibc/uclibc-0.9.28.3.ebuild index b88b02e73838..9a0a58fe47a6 100644 --- a/sys-libs/uclibc/uclibc-0.9.28.3.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.28.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.3.ebuild,v 1.1 2007/03/25 15:14:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.3.ebuild,v 1.2 2007/04/07 11:13:33 vapier Exp $ #ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc" #inherit subversion @@ -385,9 +385,9 @@ src_compile() { fi emake || die "make failed" - [[ ${CTARGET} != ${CHOST} ]] && return 0 - - if [[ ${CHOST} == *-uclibc ]] ; then + if [[ ${CTARGET} != ${CHOST} ]] ; then + emake -C utils hostutils || die "make hostutils failed" + elif [[ ${CHOST} == *-uclibc ]] ; then emake utils || die "make utils failed" fi } @@ -407,7 +407,7 @@ src_install() { local target="install" just_headers && target="install_dev" - make DESTDIR="${sysroot}" ${target} || die "install failed" + emake DESTDIR="${sysroot}" ${target} || die "install failed" # remove files coming from kernel-headers rm -rf "${sysroot}"/usr/include/{linux,asm*} @@ -417,6 +417,8 @@ src_install() { # system headers correctly. See gcc/doc/gccinstall.info if [[ ${CTARGET} != ${CHOST} ]] ; then dosym usr/include /usr/${CTARGET}/sys-include + newbin utils/ldconfig.host ${CTARGET}-ldconfig || die + newbin utils/ldd.host ${CTARGET}-ldd || die return 0 fi -- 2.26.2