diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-03-16 09:38:20 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-03-16 09:38:20 +0000 |
commit | cce99e6fd3931c5557212ea80dd68a88775aa0ae (patch) | |
tree | d6bba295700d0a0430e49424a6634687795630f6 /sys-cluster | |
parent | scipy-0.4.6.ebuild: removed eselect dependencies (diff) | |
download | sci-cce99e6fd3931c5557212ea80dd68a88775aa0ae.tar.gz sci-cce99e6fd3931c5557212ea80dd68a88775aa0ae.tar.bz2 sci-cce99e6fd3931c5557212ea80dd68a88775aa0ae.zip |
openmpi-1.0.1.ebuild: slight more info on pic behaviour
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@130 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/openmpi/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.0.1.ebuild | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest index 56aa7fe3d..397901101 100644 --- a/sys-cluster/openmpi/Manifest +++ b/sys-cluster/openmpi/Manifest @@ -1,4 +1,4 @@ MD5 5857c1a5ccb8ec1a1b24454e7f74a2d9 ChangeLog 342 MD5 914db9dc84c9ae3fdc732b8fb13fe21c files/digest-openmpi-1.0.1 67 MD5 c92d111706d0769823a1ff19c0abaacf metadata.xml 541 -MD5 a7fcaac73d1c9a9799cde943b90bb8a7 openmpi-1.0.1.ebuild 1960 +MD5 f0944e6d428350eb270c6108ebe64048 openmpi-1.0.1.ebuild 2105 diff --git a/sys-cluster/openmpi/openmpi-1.0.1.ebuild b/sys-cluster/openmpi/openmpi-1.0.1.ebuild index b69bde5cc..58ee813d5 100644 --- a/sys-cluster/openmpi/openmpi-1.0.1.ebuild +++ b/sys-cluster/openmpi/openmpi-1.0.1.ebuild @@ -24,10 +24,6 @@ SLOT="6" KEYWORDS="~amd64 ~x86" LICENSE="BSD" -pkg_setup() { - : # make sure fortran_pkg_setup does NOT run -} - src_compile() { COMPILER="gcc-$(gcc-version)" @@ -48,8 +44,13 @@ src_compile() { if use static; then myconf="${myconf} --enable-static --disable-shared" elif use amd64; then - build_with_use virtual/pbs pic || \ - die "your pbs implementation must be compiled with USE=pic" + if build_with_use virtual/pbs pic; then + eerror "openmpi needs position independant code for shared libs" + eerror "you either re-emerge openmpi with USE=static or" + eerror "your pbs implementation must be re-emerged with USE=pic" + eerror "if it supports pic, or add -fPIC to your flags" + die + fi fi econf \ |