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.4.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="curl doc emacs fltk fftw hdf5 opengl readline sparse xemacs zlib"
14
IUSE="curl doc emacs fltk fftw hdf5 opengl 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
# add 	media-gfx/graphicsmagick[cxx] when keyworded in arches
17
# add 	media-gfx/graphicsmagick[cxx] when keyworded in arches
Lines 26-33 Link Here
26
	curl? ( net-misc/curl )
26
	curl? ( net-misc/curl )
27
	fltk? ( x11-libs/fltk:1.1[opengl?] )
27
	fltk? ( x11-libs/fltk:1.1[opengl?] )
28
	fftw? ( sci-libs/fftw:3.0 )
28
	fftw? ( sci-libs/fftw:3.0 )
29
	hdf5? ( sci-libs/hdf5 )
29
	hdf5? ( sci-libs/hdf5[mpi=] )
30
	opengl? ( virtual/opengl media-libs/ftgl )
30
	opengl? ( virtual/opengl media-libs/ftgl )
31
	mpi? ( virtual/mpi[cxx] )
31
	sparse? ( sci-libs/arpack
32
	sparse? ( sci-libs/arpack
32
		sci-libs/camd
33
		sci-libs/camd
33
		sci-libs/ccolamd
34
		sci-libs/ccolamd
Lines 47-52 Link Here
47
	dev-util/gperf
48
	dev-util/gperf
48
	dev-util/pkgconfig"
49
	dev-util/pkgconfig"
49
50
51
pkg_setup() {
52
	if use mpi; then
53
		export CC=mpicc
54
		export CXX=mpicxx
55
	fi
56
}
57
50
src_prepare() {
58
src_prepare() {
51
	epatch "${FILESDIR}"/${PN}-3.2.0_parallel_make.patch
59
	epatch "${FILESDIR}"/${PN}-3.2.0_parallel_make.patch
52
	epatch "${FILESDIR}"/${PN}-3.2.0_as_needed.patch
60
	epatch "${FILESDIR}"/${PN}-3.2.0_as_needed.patch

Return to bug 303391