Lines 21-27
Link Here
|
21 |
RDEPEND="hdf5? ( sci-libs/hdf5 ) |
21 |
RDEPEND="hdf5? ( sci-libs/hdf5 ) |
22 |
mpi? ( || ( |
22 |
mpi? ( || ( |
23 |
sys-cluster/openmpi |
23 |
sys-cluster/openmpi |
24 |
sys-cluster/mpich2 ) ) |
24 |
sys-cluster/mpich2[cxx] ) ) |
25 |
python? ( >=dev-lang/python-2.0 ) |
25 |
python? ( >=dev-lang/python-2.0 ) |
26 |
qt4? ( x11-libs/qt-gui:4 |
26 |
qt4? ( x11-libs/qt-gui:4 |
27 |
x11-libs/qt-qt3support:4 |
27 |
x11-libs/qt-qt3support:4 |
Lines 48-58
Link Here
|
48 |
|
48 |
|
49 |
pkg_setup() { |
49 |
pkg_setup() { |
50 |
use qt4 && qt4_pkg_setup |
50 |
use qt4 && qt4_pkg_setup |
51 |
if use mpi && has_version sys-cluster/mpich2; then |
|
|
52 |
if ! built_with_use sys-cluster/mpich2 cxx; then |
53 |
die "Please re-emerge sys-cluster/mpich2 with USE=\"cxx\"" |
54 |
fi |
55 |
fi |
56 |
} |
51 |
} |
57 |
|
52 |
|
58 |
src_prepare() { |
53 |
src_prepare() { |