aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsbronder <jsbronder@32389bae-6d03-0410-99cf-db05cde120eb>2008-11-05 02:48:55 +0000
committerjsbronder <jsbronder@32389bae-6d03-0410-99cf-db05cde120eb>2008-11-05 02:48:55 +0000
commit476d06be03986817e429926a068cf7bf16ee3955 (patch)
tree24b9c03fe2dca1744976782e97ef048b2aef074d /sys-cluster/mpe2
parentIntegrate Joel's fixes for #220877 into mpich2 (fpic ->fPIC) (diff)
downloadsci-476d06be03986817e429926a068cf7bf16ee3955.tar.gz
sci-476d06be03986817e429926a068cf7bf16ee3955.tar.bz2
sci-476d06be03986817e429926a068cf7bf16ee3955.zip
sys-cluster/mpe2 needs to handle building without empi.
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@1334 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sys-cluster/mpe2')
-rw-r--r--sys-cluster/mpe2/Manifest3
-rw-r--r--sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild8
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-cluster/mpe2/Manifest b/sys-cluster/mpe2/Manifest
index f55138df4..cc2b2a69e 100644
--- a/sys-cluster/mpe2/Manifest
+++ b/sys-cluster/mpe2/Manifest
@@ -1,2 +1,3 @@
DIST mpe2-1.0.6p1.tar.gz 9313216 RMD160 1c52f379c3fff4bac5c68505ca657584d8092f7f SHA1 bc810c7a1f3ef5b9cf2563278053afadbc2029f2 SHA256 23cfef2b8a0a27408b5bdadeb216ba3adb3b02bf40d0fa6fc0a110cefd8c5863
-EBUILD mpe2-1.0.6_p1.ebuild 3549 RMD160 cefa6f9b5158bc3066971a88d782aa3aa8c70913 SHA1 8cf1e319fbeba326f0bcaf7a19508b12d294f6de SHA256 8f1c9a813584af23ce957a71a1fbdb76c986af2a1af60d6b803f5769b98f97c5
+EBUILD mpe2-1.0.6_p1.ebuild 3752 RMD160 250378f8b6ff2370ff69a520cf91882387de2c59 SHA1 1779caa2911833538cb9eaf0120fa77d343a6124 SHA256 7566a0c7438c7c164f9f0981bfe020f70772a736b16be7a483dbc8511fb2556a
+MISC metadata.xml 262 RMD160 28b216487d02e3543ce0ceac0e7e3fd60cbe63bc SHA1 b700ba0837d2e5d604092b3b44960885c785c5b4 SHA256 c34f39ce5df0360b6bd1b55f67e26f35a8d482be2082951e27102ff850c58be5
diff --git a/sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild b/sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild
index 67c113a93..68a68e9e8 100644
--- a/sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild
+++ b/sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild
@@ -41,7 +41,13 @@ pkg_setup() {
local i
mpi_pkg_setup
- MPE_IMP=$(mpi_built_with)
+ if [ -n "${MPI_IMP}" ]; then
+ MPE_IMP=$(mpi_built_with)
+ else
+ # Hack until mpi.eclass is fixed to store ${PN}
+ has_version "sys-cluster/openmpi" && MPE_IMP="openmpi"
+ has_version "sys-cluster/mpich2" && MPE_IMP="mpich2"
+ fi
if use fortran ; then
FORTRAN="g77 gfortran ifort ifc"