diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-03-27 17:33:28 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-03-27 17:33:28 +0000 |
commit | 32065283ff86f0aeead59683ed3cfb5fbbd4daeb (patch) | |
tree | 1f69d4a0105610351f9a252736d16f3ba84c0e77 /dev-libs/libebml | |
parent | gnome 2.18.0 (diff) | |
download | gentoo-2-32065283ff86f0aeead59683ed3cfb5fbbd4daeb.tar.gz gentoo-2-32065283ff86f0aeead59683ed3cfb5fbbd4daeb.tar.bz2 gentoo-2-32065283ff86f0aeead59683ed3cfb5fbbd4daeb.zip |
Compile in src_compile, use tc-getCC to call the correct gcc, thanks to Timothy Redaelli <drizzt@gentoo.org>, bug #172419
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-libs/libebml')
-rw-r--r-- | dev-libs/libebml/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libebml/libebml-0.7.7-r1.ebuild | 15 |
2 files changed, 16 insertions, 7 deletions
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 <aballier@gentoo.org> libebml-0.7.7-r1.ebuild: + Compile in src_compile, use tc-getCC to call the correct gcc, thanks to + Timothy Redaelli <drizzt@gentoo.org>, bug #172419 02 Dec 2006; Jeroen Roovers <jer@gentoo.org> 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/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" } |