From: Alexis Ballier Date: Tue, 27 Mar 2007 17:33:28 +0000 (+0000) Subject: Compile in src_compile, use tc-getCC to call the correct gcc, thanks to Timothy Redae... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd00d888dd42d7fc232ae6cee7e527b60866f718;p=gentoo.git Compile in src_compile, use tc-getCC to call the correct gcc, thanks to Timothy Redaelli , bug #172419 Package-Manager: portage-2.1.2.2 --- diff --git a/dev-libs/libebml/ChangeLog b/dev-libs/libebml/ChangeLog index f8088e9f1648..4dd16a24b258 100644 --- a/dev-libs/libebml/ChangeLog +++ b/dev-libs/libebml/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libebml -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/ChangeLog,v 1.79 2006/12/02 21:55:51 jer Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/ChangeLog,v 1.80 2007/03/27 17:33:28 aballier Exp $ + + 27 Mar 2007; Alexis Ballier libebml-0.7.7-r1.ebuild: + Compile in src_compile, use tc-getCC to call the correct gcc, thanks to + Timothy Redaelli , bug #172419 02 Dec 2006; Jeroen Roovers libebml-0.7.7-r1.ebuild: Stable for HPPA (bug #154055, even though for HPPA nothing useful seems to diff --git a/dev-libs/libebml/Manifest b/dev-libs/libebml/Manifest index 98010f158b44..8c70f6e6d55b 100644 --- a/dev-libs/libebml/Manifest +++ b/dev-libs/libebml/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX libebml-shared2.patch 1815 RMD160 261b532f947fdf26092e158defb2a412e3029583 SHA1 483094b41356552f43f1d96968db13764eef347b SHA256 96a7285a71ebf0993f75eb07fe4e2c89038a943343895192e7d44241b0826be7 MD5 f348d8c6397b123660999b076c21ec42 files/libebml-shared2.patch 1815 RMD160 261b532f947fdf26092e158defb2a412e3029583 files/libebml-shared2.patch 1815 @@ -8,18 +11,18 @@ EBUILD libebml-0.7.3.ebuild 1441 RMD160 a7e4d98e8b45da39a63ea1d3891f83c56a26bafb MD5 83a0092ee2b1dc88c922833afee7b5fc libebml-0.7.3.ebuild 1441 RMD160 a7e4d98e8b45da39a63ea1d3891f83c56a26bafb libebml-0.7.3.ebuild 1441 SHA256 e463d74ca263f3d16e24c16130b28b8b69b3a68766a42d823df28867270beaa5 libebml-0.7.3.ebuild 1441 -EBUILD libebml-0.7.7-r1.ebuild 655 RMD160 d2925e282ffb1e69448ac76a869505af62958714 SHA1 a8d21652947243492ef80e468f9c890ba9afcf03 SHA256 e1d318ce1e82f4bc01b0cd5c8db9e275aa5db929461adb2730f23d3212faf2e1 -MD5 4ae2f1c7713a9c6b6c9d4f2590833000 libebml-0.7.7-r1.ebuild 655 -RMD160 d2925e282ffb1e69448ac76a869505af62958714 libebml-0.7.7-r1.ebuild 655 -SHA256 e1d318ce1e82f4bc01b0cd5c8db9e275aa5db929461adb2730f23d3212faf2e1 libebml-0.7.7-r1.ebuild 655 +EBUILD libebml-0.7.7-r1.ebuild 770 RMD160 13e942e2a66d30cb0be5214de56926ee78a46b1d SHA1 307cabcef83618f8b084d3606ad61b67c5c9930c SHA256 b5154b51120ff8091d528e40d3075fad72e10230710e47f945b0083ce019b015 +MD5 22d3917820a317e2cab93def4519e353 libebml-0.7.7-r1.ebuild 770 +RMD160 13e942e2a66d30cb0be5214de56926ee78a46b1d libebml-0.7.7-r1.ebuild 770 +SHA256 b5154b51120ff8091d528e40d3075fad72e10230710e47f945b0083ce019b015 libebml-0.7.7-r1.ebuild 770 EBUILD libebml-0.7.7.ebuild 637 RMD160 092bfb6e2dbf8f238584a4faeef1c4792c6e5c67 SHA1 10d104f6c662a2f4a9036a1aace55222637827ab SHA256 1b59cda8cf6abdc113fed7ca7c53bd3ad83b696a07b60d7a519864019e3280c6 MD5 309ac79e8ef5f216bb8c7625779ebfe4 libebml-0.7.7.ebuild 637 RMD160 092bfb6e2dbf8f238584a4faeef1c4792c6e5c67 libebml-0.7.7.ebuild 637 SHA256 1b59cda8cf6abdc113fed7ca7c53bd3ad83b696a07b60d7a519864019e3280c6 libebml-0.7.7.ebuild 637 -MISC ChangeLog 11414 RMD160 c791c4048166f851fd1a9795c19a7f9656a02409 SHA1 bfb18388eff5ebe3aa0a8a768c23d90f04eb6d5e SHA256 422bb9e40989ed659d65aea2df7b29a5f7a63d0618a839384c4d66ea8d1f1002 -MD5 817668f9cab9c1bc3c3fad25df059dff ChangeLog 11414 -RMD160 c791c4048166f851fd1a9795c19a7f9656a02409 ChangeLog 11414 -SHA256 422bb9e40989ed659d65aea2df7b29a5f7a63d0618a839384c4d66ea8d1f1002 ChangeLog 11414 +MISC ChangeLog 11623 RMD160 d124b574a26061107ce41ae8beb45457e04387ce SHA1 dd579737e6653fea34eca38f7705128e86679c50 SHA256 477eacb7e3964bb71ae42e434ac1bb13397a5144163328004d8d6efba58b62d3 +MD5 9bb3bc084abb5e9a25c761860074ab5a ChangeLog 11623 +RMD160 d124b574a26061107ce41ae8beb45457e04387ce ChangeLog 11623 +SHA256 477eacb7e3964bb71ae42e434ac1bb13397a5144163328004d8d6efba58b62d3 ChangeLog 11623 MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d metadata.xml 225 @@ -33,3 +36,10 @@ SHA256 0da009328104a950426f646ca8c28a3712c45e8019dedc3596c72af87c0fc467 files/di MD5 0c4768867a10009ae84190d6f155d446 files/digest-libebml-0.7.7-r1 241 RMD160 03a8d27dbc3ec2eff2f9683b0d5f52354f429808 files/digest-libebml-0.7.7-r1 241 SHA256 0da009328104a950426f646ca8c28a3712c45e8019dedc3596c72af87c0fc467 files/digest-libebml-0.7.7-r1 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGCVVKvFcC4BYPU0oRAj/7AJ43PeqhVjF6/9HyFoMpJa95wkF8VwCcCjOK +U6CAHkd0TDrs8gxPmWRoYgw= +=yld5 +-----END PGP SIGNATURE----- diff --git a/dev-libs/libebml/libebml-0.7.7-r1.ebuild b/dev-libs/libebml/libebml-0.7.7-r1.ebuild index a3d0b26ee1e0..cfd7913b6872 100644 --- a/dev-libs/libebml/libebml-0.7.7-r1.ebuild +++ b/dev-libs/libebml/libebml-0.7.7-r1.ebuild @@ -1,8 +1,8 @@ -# 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/dev-libs/libebml/libebml-0.7.7-r1.ebuild,v 1.8 2006/12/02 21:55:51 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/libebml-0.7.7-r1.ebuild,v 1.9 2007/03/27 17:33:28 aballier Exp $ -inherit multilib +inherit multilib toolchain-funcs DESCRIPTION="Extensible binary format library (kinda like XML)" HOMEPAGE="http://www.matroska.org/" @@ -13,8 +13,13 @@ SLOT="0" KEYWORDS="~alpha amd64 arm hppa ia64 ppc ~ppc-macos ppc64 sparc x86" IUSE="" +S="${S}/make/linux" + +src_compile() { + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed" +} + src_install() { - cd "${S}"/make/linux einstall libdir="${D}/usr/$(get_libdir)" || die "make install failed" - dodoc "${S}"/ChangeLog + dodoc "${WORKDIR}/${P}/ChangeLog" }