View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/sci-mathematics/octave/octave-2.1.73.ebuild (-1 / +5 lines)
 Lines 54-63    Link Here 
	# octave links agains -lmpi by default
	# octave links agains -lmpi by default
	# mpich needs -lmpich instead
	# mpich needs -lmpich instead
	if use mpi; then
	if use mpi; then
		CC="mpicc" && CXX="mpiCC"
		if has_version 'sys-cluster/mpich'; then
		if has_version 'sys-cluster/mpich'; then
			CC="mpicc" && CXX="mpiCC"
			myconf="${myconf} --with-mpi=mpich"
		elif has_version 'sys-cluster/mpich2'; then
			CC="mpicc" && CXX="mpicxx"
			myconf="${myconf} --with-mpi=mpich"
			myconf="${myconf} --with-mpi=mpich"
		else
		else
			CC="mpicc" && CXX="mpiCC"
			myconf="${myconf} --with-mpi=mpi"
			myconf="${myconf} --with-mpi=mpi"
		fi
		fi
	else
	else