Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 303391 | Differences between
and this patch

Collapse All | Expand All

(-)octave-3.2.3-r1.ebuild.orig (-2 / +10 lines)
Lines 11-17 Link Here
11
SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
11
SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
12
12
13
SLOT="0"
13
SLOT="0"
14
IUSE="emacs readline zlib doc hdf5 curl fftw xemacs sparse"
14
IUSE="curl doc emacs fftw hdf5 mpi readline sparse xemacs zlib"
15
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
15
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
16
16
17
RDEPEND="virtual/lapack
17
RDEPEND="virtual/lapack
Lines 23-29 Link Here
23
	sci-libs/qrupdate
23
	sci-libs/qrupdate
24
	fftw? ( >=sci-libs/fftw-3.1.2 )
24
	fftw? ( >=sci-libs/fftw-3.1.2 )
25
	zlib? ( sys-libs/zlib )
25
	zlib? ( sys-libs/zlib )
26
	hdf5? ( sci-libs/hdf5 )
26
	hdf5? ( sci-libs/hdf5[mpi=] )
27
	mpi? ( virtual/mpi[cxx] )
27
	curl? ( net-misc/curl )
28
	curl? ( net-misc/curl )
28
	xemacs? ( app-editors/xemacs )
29
	xemacs? ( app-editors/xemacs )
29
	sparse? ( sci-libs/umfpack
30
	sparse? ( sci-libs/umfpack
Lines 45-50 Link Here
45
46
46
FORTRAN="gfortran ifc g77 f2c"
47
FORTRAN="gfortran ifc g77 f2c"
47
48
49
pkg_setup() {
50
	if use mpi; then
51
		export CC=mpicc
52
		export CXX=mpicxx
53
	fi
54
}
55
48
src_prepare() {
56
src_prepare() {
49
	epatch "${FILESDIR}"/${PN}-3.2.0_parallel_make.patch
57
	epatch "${FILESDIR}"/${PN}-3.2.0_parallel_make.patch
50
	epatch "${FILESDIR}"/${PN}-3.2.0_as_needed.patch
58
	epatch "${FILESDIR}"/${PN}-3.2.0_as_needed.patch

Return to bug 303391