Lines 13-19
Link Here
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ~x86" |
15 |
KEYWORDS="~amd64 ~x86" |
16 |
IUSE="doc fltk gif glut gsl hdf5 jpeg octave python qt4 wxwindows" |
16 |
IUSE="doc fltk gif glut gsl hdf5 jpeg octave python qt4 wxwindows openmp" |
17 |
|
17 |
|
18 |
RDEPEND="media-libs/libpng |
18 |
RDEPEND="media-libs/libpng |
19 |
virtual/glu |
19 |
virtual/glu |
Lines 26-32
Link Here
|
26 |
gsl? ( sci-libs/gsl ) |
26 |
gsl? ( sci-libs/gsl ) |
27 |
octave? ( sci-mathematics/octave ) |
27 |
octave? ( sci-mathematics/octave ) |
28 |
qt4? ( x11-libs/qt-gui:4 ) |
28 |
qt4? ( x11-libs/qt-gui:4 ) |
29 |
wxwindows? ( x11-libs/wxGTK:2.8 )" |
29 |
wxwindows? ( x11-libs/wxGTK:2.8 ) |
|
|
30 |
openmp? ( sys-devel/gcc[openmp] )" |
30 |
DEPEND="${RDEPEND} |
31 |
DEPEND="${RDEPEND} |
31 |
doc? ( app-text/texi2html virtual/texi2dvi ) |
32 |
doc? ( app-text/texi2html virtual/texi2dvi ) |
32 |
python? ( dev-lang/swig ) |
33 |
python? ( dev-lang/swig ) |
Lines 44-49
Link Here
|
44 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
45 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
45 |
# bug 274282 |
46 |
# bug 274282 |
46 |
epatch "${FILESDIR}"/${P}-gcc44.patch |
47 |
epatch "${FILESDIR}"/${P}-gcc44.patch |
|
|
48 |
# bug 280642 |
49 |
epatch "${FILESDIR}/${P}-openmp.patch" |
47 |
|
50 |
|
48 |
# correct location of numpy/arrayobject.h |
51 |
# correct location of numpy/arrayobject.h |
49 |
if use python; then |
52 |
if use python; then |
Lines 70-76
Link Here
|
70 |
$(use_enable python) \ |
73 |
$(use_enable python) \ |
71 |
$(use_enable octave) \ |
74 |
$(use_enable octave) \ |
72 |
$(use_enable gsl) \ |
75 |
$(use_enable gsl) \ |
73 |
$(use_enable doc docs) |
76 |
$(use_enable doc docs) \ |
|
|
77 |
$(use_enable openmp) |
74 |
} |
78 |
} |
75 |
|
79 |
|
76 |
src_compile() { |
80 |
src_compile() { |