From 1571021f6a9f5462aa203d63c5a6aee936492a37 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 7 Jan 2007 10:58:27 +0000 Subject: [PATCH] dont use tc-endian anymore Package-Manager: portage-2.1.2_rc4-r6 --- sys-libs/uclibc/Manifest | 32 ++++++++++++------------- sys-libs/uclibc/uclibc-0.9.27-r1.ebuild | 14 +++++++---- sys-libs/uclibc/uclibc-0.9.28-r1.ebuild | 14 +++++++---- sys-libs/uclibc/uclibc-0.9.28.ebuild | 14 +++++++---- 4 files changed, 46 insertions(+), 28 deletions(-) diff --git a/sys-libs/uclibc/Manifest b/sys-libs/uclibc/Manifest index 530349dbba84..0ccad213c3de 100644 --- a/sys-libs/uclibc/Manifest +++ b/sys-libs/uclibc/Manifest @@ -8,18 +8,18 @@ DIST uClibc-0.9.28-patches-1.3.tar.bz2 22522 RMD160 f12b3f4b3131a4a76767b089f1b8 DIST uClibc-0.9.28-patches-1.6.tar.bz2 28097 RMD160 b171d9e20fd80550e4aca83fbc1bf781c58823ca SHA1 1dd0976281aaeec82ace1f0c20bd4d0cf65201ba SHA256 4b3e78582e836bd06fc7bbf1e1a0e6cd9037a8b06746e14b87006654c266631e DIST uClibc-0.9.28.tar.bz2 1763847 RMD160 41646bd94459a9c6f10aea4a4483fa4fedf30e7d SHA1 9124a6e5b0454da3f967725d54fde806189ad27b SHA256 c8bc5383eafaa299e9874ae50acc6549f8b54bc29ed64a9a3387b3e4cd7f4bcb DIST uClibc-locale-030818.tgz 236073 RMD160 8e3f4b20b94e07e535cbbbe81287186014c5f151 SHA1 78f901e6ed228ed84106bd034c1b97eee1eecb50 SHA256 c4362be318a38f18d98dccf462d22d95bab92f05548bb93f65298fe9afaebd57 -EBUILD uclibc-0.9.27-r1.ebuild 11934 RMD160 6c445d53bcccd1affbf9cef2259d06d2a2f54f72 SHA1 15b2ee99309999cc0d37a5aba1102e39dee19b18 SHA256 b2922b5f452c137343a3b4b635d3f72e950a405b22d54dce2bd6596a875c477a -MD5 d359f4446130fba9b750c52c527475c3 uclibc-0.9.27-r1.ebuild 11934 -RMD160 6c445d53bcccd1affbf9cef2259d06d2a2f54f72 uclibc-0.9.27-r1.ebuild 11934 -SHA256 b2922b5f452c137343a3b4b635d3f72e950a405b22d54dce2bd6596a875c477a uclibc-0.9.27-r1.ebuild 11934 -EBUILD uclibc-0.9.28-r1.ebuild 13830 RMD160 f40c27f02a32325d0ea345e86c456229e1dcf0aa SHA1 b291d73c1d00a0359bdf483e32a8335ac7cf6bf1 SHA256 defea578ea13fa2ddd8f6249941c68b12a30f542d0a6bf48b0bc2d85f4e95329 -MD5 1be91be3ccefab324b23f3c5e7594a7d uclibc-0.9.28-r1.ebuild 13830 -RMD160 f40c27f02a32325d0ea345e86c456229e1dcf0aa uclibc-0.9.28-r1.ebuild 13830 -SHA256 defea578ea13fa2ddd8f6249941c68b12a30f542d0a6bf48b0bc2d85f4e95329 uclibc-0.9.28-r1.ebuild 13830 -EBUILD uclibc-0.9.28.ebuild 13824 RMD160 3d1d677ff3ca4678150e83750166407bfdbc8b8d SHA1 97c98fe65bb547bee1a5a98ed368c64fa9094159 SHA256 8b3add791edc2ae457f4246ee0f478492e345eb01d19cd5b3a75999aacd09145 -MD5 1d1cb8a295c555457d67ce0b22650554 uclibc-0.9.28.ebuild 13824 -RMD160 3d1d677ff3ca4678150e83750166407bfdbc8b8d uclibc-0.9.28.ebuild 13824 -SHA256 8b3add791edc2ae457f4246ee0f478492e345eb01d19cd5b3a75999aacd09145 uclibc-0.9.28.ebuild 13824 +EBUILD uclibc-0.9.27-r1.ebuild 12097 RMD160 3816b31a3525fe14d3800482919955fe0ee560b7 SHA1 a656858817952fdbd7875a0aa03a4f2c34795e1f SHA256 d45688369afe23adbb50740d8135577cbef2a5d36ef16eee077688e40b57e427 +MD5 49d17e1ff2ed380cf7a6c3d42f4e6055 uclibc-0.9.27-r1.ebuild 12097 +RMD160 3816b31a3525fe14d3800482919955fe0ee560b7 uclibc-0.9.27-r1.ebuild 12097 +SHA256 d45688369afe23adbb50740d8135577cbef2a5d36ef16eee077688e40b57e427 uclibc-0.9.27-r1.ebuild 12097 +EBUILD uclibc-0.9.28-r1.ebuild 13993 RMD160 9782b9076a4908e5e50faea2baffae7746cb3953 SHA1 b287f9f129acb7717321f64d2a9d12812205779b SHA256 3991dd534afe1d7a6d307c7c6f508d4f290e242783a77dd89f9a9e5097402d5a +MD5 7ada8c2dc3206036e8a2e11d8af5aa21 uclibc-0.9.28-r1.ebuild 13993 +RMD160 9782b9076a4908e5e50faea2baffae7746cb3953 uclibc-0.9.28-r1.ebuild 13993 +SHA256 3991dd534afe1d7a6d307c7c6f508d4f290e242783a77dd89f9a9e5097402d5a uclibc-0.9.28-r1.ebuild 13993 +EBUILD uclibc-0.9.28.ebuild 13987 RMD160 8392b6b8534d27e02674b1a31bd104eff32dc3bf SHA1 78d7abbeab2d86782e859ee20dd3ddfe5cae6f81 SHA256 64d88508c47f31f7cef520e42832e79353bac3163eca4826fadfe2559750f423 +MD5 a82bb403afd9e8d48b2fd6ffd4564ee6 uclibc-0.9.28.ebuild 13987 +RMD160 8392b6b8534d27e02674b1a31bd104eff32dc3bf uclibc-0.9.28.ebuild 13987 +SHA256 64d88508c47f31f7cef520e42832e79353bac3163eca4826fadfe2559750f423 uclibc-0.9.28.ebuild 13987 MISC ChangeLog 10220 RMD160 c63b5edb4604180857d65cd11513d53fbf35de47 SHA1 62a4b27d36ed3e06ce70f0b388ed2071f4832d69 SHA256 37602cffffd9b4fc1c6923ae58fe15aa4300fce04b1155a32a46449128c234a4 MD5 aeb3bab51b3a78d6b7e2b358069692b3 ChangeLog 10220 RMD160 c63b5edb4604180857d65cd11513d53fbf35de47 ChangeLog 10220 @@ -38,9 +38,9 @@ MD5 e0efbe886e65855653c33f5925c2f94b files/digest-uclibc-0.9.28-r1 777 RMD160 87153a2d7329890a0203a0ef1951e31718a4308f files/digest-uclibc-0.9.28-r1 777 SHA256 9e196587e5f64bc3a864e42cbae4bf09eee3daf6b1793fbfdbd012f2cb793138 files/digest-uclibc-0.9.28-r1 777 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFcgsfamhnQswr0vIRAto/AJ9nR7UUSnjnvd9xlpDbjCvKXor5tACdE7p9 -eKtAOJv639JzAEfMYZNIxvs= -=rlu2 +iD8DBQFFoNJl8bi6rjpTunYRAo4NAJ4sss6ikEQO2NzJEt8koU4DKruOzwCg0Z6f +hx6YFU1z1wS4UUD55QPBzmc= +=oOLQ -----END PGP SIGNATURE----- diff --git a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild index 6d91911b4631..4cd66f804893 100644 --- a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# 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.27-r1.ebuild,v 1.20 2006/12/02 23:24:07 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.21 2007/01/07 10:58:27 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -66,6 +66,12 @@ just_headers() { use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] } +uclibc_endian() { + printf "#include \n#if __BYTE_ORDER == __LITTLE_ENDIAN\nlittle\n#else\nbig\n#endif\n" \ + | $(tc-getCPP) - \ + | tail -n 1 +} + pkg_setup() { just_headers && return 0 has_version ${CATEGORY}/uclibc || return 0 @@ -130,7 +136,7 @@ src_unpack() { einfo "CHOST: ${CHOST}" einfo "CTARGET: ${CTARGET}" einfo "CPU: ${UCLIBC_CPU}" - einfo "ENDIAN: $(tc-endian)" + einfo "ENDIAN: $(uclibc_endian)" echo ########## PATCHES ########## @@ -176,7 +182,7 @@ src_unpack() { fi sed -i -e '/ARCH_.*_ENDIAN/d' .config - echo "ARCH_$(tc-endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config + echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config if [[ ${CTARGET//_/-} == *-softfloat-* ]] ; then sed -i -e '/^HAS_FPU=y$/d' .config diff --git a/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild index 3de84f3efb07..1386947e77f3 100644 --- a/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# 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-r1.ebuild,v 1.5 2006/12/02 23:24:07 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild,v 1.6 2007/01/07 10:58:27 vapier Exp $ #ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc" #inherit subversion @@ -64,6 +64,12 @@ just_headers() { use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] } +uclibc_endian() { + printf "#include \n#if __BYTE_ORDER == __LITTLE_ENDIAN\nlittle\n#else\nbig\n#endif\n" \ + | $(tc-getCPP) - \ + | tail -n 1 +} + pkg_setup() { just_headers && return 0 has_version ${CATEGORY}/uclibc || return 0 @@ -143,7 +149,7 @@ src_unpack() { einfo "CHOST: ${CHOST}" einfo "CTARGET: ${CTARGET}" einfo "CPU: ${UCLIBC_CPU:-default}" - einfo "ENDIAN: $(tc-endian)" + einfo "ENDIAN: $(uclibc_endian)" echo ########## PATCHES ########## @@ -196,7 +202,7 @@ src_unpack() { fi sed -i -e '/ARCH_.*_ENDIAN/d' .config - echo "ARCH_$(tc-endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config + echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config if [[ ${CTARGET//_/-} == *-softfloat-* ]] ; then sed -i -e '/^HAS_FPU=y$/d' .config diff --git a/sys-libs/uclibc/uclibc-0.9.28.ebuild b/sys-libs/uclibc/uclibc-0.9.28.ebuild index 577ee7cddaba..2da83e9623ec 100644 --- a/sys-libs/uclibc/uclibc-0.9.28.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.28.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# 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.ebuild,v 1.25 2006/09/29 23:50:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.ebuild,v 1.26 2007/01/07 10:58:27 vapier Exp $ #ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc" #inherit subversion @@ -64,6 +64,12 @@ just_headers() { use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] } +uclibc_endian() { + printf "#include \n#if __BYTE_ORDER == __LITTLE_ENDIAN\nlittle\n#else\nbig\n#endif\n" \ + | $(tc-getCPP) - \ + | tail -n 1 +} + pkg_setup() { just_headers && return 0 has_version ${CATEGORY}/uclibc || return 0 @@ -143,7 +149,7 @@ src_unpack() { einfo "CHOST: ${CHOST}" einfo "CTARGET: ${CTARGET}" einfo "CPU: ${UCLIBC_CPU:-default}" - einfo "ENDIAN: $(tc-endian)" + einfo "ENDIAN: $(uclibc_endian)" echo ########## PATCHES ########## @@ -196,7 +202,7 @@ src_unpack() { fi sed -i -e '/ARCH_.*_ENDIAN/d' .config - echo "ARCH_$(tc-endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config + echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config if [[ ${CTARGET//_/-} == *-softfloat-* ]] ; then sed -i -e '/^HAS_FPU=y$/d' .config -- 2.26.2