From 8c5964a5ed7f3e95cb8f5863d2034f72c41b6868 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Thu, 11 May 2006 09:14:54 +0000 Subject: Clean up ebuild a bit more for CC/CXX/LDFLAGS definitions. (Portage version: 2.1_pre10-r5) --- sci-mathematics/octave/octave-2.1.72.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sci-mathematics/octave/octave-2.1.72.ebuild') diff --git a/sci-mathematics/octave/octave-2.1.72.ebuild b/sci-mathematics/octave/octave-2.1.72.ebuild index f4301c410922..f83147b3f337 100644 --- a/sci-mathematics/octave/octave-2.1.72.ebuild +++ b/sci-mathematics/octave/octave-2.1.72.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.72.ebuild,v 1.5 2006/05/11 08:04:49 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.72.ebuild,v 1.6 2006/05/11 09:14:54 robbat2 Exp $ inherit flag-o-matic fortran @@ -62,11 +62,11 @@ src_compile() { myconf="${myconf} --with-mpi=mpi" fi else + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" myconf="${myconf} --without-mpi" fi - - LDFLAGS="${LDFLAGS}" \ CC="${CC}" CXX="${CXX}" \ econf \ $(use_with hdf5) \ -- cgit v1.2.3-65-gdbad