From e56220f42ed4210f84af831fb145765f3f16ac34 Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Sat, 7 Feb 2009 21:11:28 +0000 Subject: respect CC etc, bug #256325 (Portage version: 2.2_rc23/cvs/Linux i686) --- media-libs/openinventor/ChangeLog | 6 +++++- media-libs/openinventor/openinventor-2.1.5.10-r3.ebuild | 11 +++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'media-libs/openinventor') diff --git a/media-libs/openinventor/ChangeLog b/media-libs/openinventor/ChangeLog index 5edfa2512abc..8c2420652157 100644 --- a/media-libs/openinventor/ChangeLog +++ b/media-libs/openinventor/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/openinventor # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/ChangeLog,v 1.26 2009/01/25 16:02:50 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/ChangeLog,v 1.27 2009/02/07 21:11:28 maekke Exp $ + + 07 Feb 2009; Markus Meier + openinventor-2.1.5.10-r3.ebuild: + respect CC etc, bug #256325 25 Jan 2009; Markus Meier -openinventor-2.1.5.10-r2.ebuild: diff --git a/media-libs/openinventor/openinventor-2.1.5.10-r3.ebuild b/media-libs/openinventor/openinventor-2.1.5.10-r3.ebuild index 902fdf6e6998..1a12c78964ad 100644 --- a/media-libs/openinventor/openinventor-2.1.5.10-r3.ebuild +++ b/media-libs/openinventor/openinventor-2.1.5.10-r3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/openinventor-2.1.5.10-r3.ebuild,v 1.4 2009/01/25 15:07:27 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/openinventor-2.1.5.10-r3.ebuild,v 1.5 2009/02/07 21:11:28 maekke Exp $ -inherit eutils versionator flag-o-matic +inherit eutils versionator flag-o-matic toolchain-funcs MY_PV=$(replace_version_separator 3 '-') MY_PN="inventor" @@ -56,6 +56,13 @@ src_unpack() { epatch "${FILESDIR}"/gcc4-support.patch # fix bug #251681 epatch "${FILESDIR}"/bug-251681.patch + + # respect CC etc + sed -i \ + -e "s:CC = /usr/bin/gcc:CC = $(tc-getCC):g" \ + -e "s:C++ = /usr/bin/g++:C++ = $(tc-getCXX):g" \ + -e "s:LD = /usr/bin/g++:LD = $(tc-getCXX):g" \ + make/ivcommondefs || die } src_compile() { -- cgit v1.2.3-65-gdbad