summaryrefslogtreecommitdiff
path: root/extra/openmpi
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-05 02:43:51 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-05 02:43:51 -0300
commit61b68fb9fca39dda7e4b48c5af9567dc60ea3dd2 (patch)
tree6b8b6fb14ede5aae651e92f593252dba143cee74 /extra/openmpi
parentca998b4c054452abed4e01be1d2b28fee0ca904f (diff)
parent5801c5acd80d30d17aaef76b8bc401c61b3ef3c9 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/camlp5/PKGBUILD community/coq/PKGBUILD community/ldns/PKGBUILD community/luxrays/PKGBUILD community/luxrender/PKGBUILD community/nut/PKGBUILD community/root/PKGBUILD community/swi-prolog/PKGBUILD community/vtk/PKGBUILD community/wings3d/wings3d.sh core/sqlite3/PKGBUILD core/tzdata/PKGBUILD extra/cmus/PKGBUILD extra/dcron/PKGBUILD extra/farsight2/PKGBUILD extra/foomatic/PKGBUILD extra/fwbuilder/PKGBUILD extra/gnome-utils/PKGBUILD extra/ivtv-utils/PKGBUILD extra/kdebase-konsole/PKGBUILD extra/kdenetwork/PKGBUILD extra/kdesdk/PKGBUILD extra/koffice/PKGBUILD extra/libxfce4menu/PKGBUILD extra/openmpi/PKGBUILD extra/telepathy-butterfly/PKGBUILD extra/telepathy-farsight/PKGBUILD extra/telepathy-kde-presence-dataengine/PKGBUILD extra/telepathy-qt4/PKGBUILD extra/xfce-utils/PKGBUILD extra/xulrunner/PKGBUILD multilib/lib32-zlib/PKGBUILD staging/gimp-devel/gimp-devel.install testing/gtk3/PKGBUILD testing/php/PKGBUILD ~xihh/couchdb-git/couchdb.install ~xihh/couchdb-git/rc-script.patch ~xihh/gmime24/PKGBUILD
Diffstat (limited to 'extra/openmpi')
-rw-r--r--extra/openmpi/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD
index 0f000c42c..e980fed3f 100644
--- a/extra/openmpi/PKGBUILD
+++ b/extra/openmpi/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 155500 2012-04-04 11:28:36Z stephane $
+# $Id: PKGBUILD 158183 2012-05-03 13:22:34Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=openmpi
pkgver=1.5.5
-pkgrel=2
+pkgrel=3
pkgdesc="High performance message passing library (MPI)"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.open-mpi.org"
license=('custom')
-depends=('gcc' 'gcc-fortran' 'openssh' 'libtool' 'hwloc')
+depends=('gcc-fortran' 'openssh' 'libltdl' 'hwloc')
[ "$CARCH" = "mips64el" ] || depends+=('valgrind')
makedepends=('inetutils')
options=(!libtool)
@@ -27,6 +27,9 @@ build() {
# Fix fakeroot problem (FS#28644)
patch -Np1 -i ../openmpi-1.5.4-fix-fakeroot-execution.patch
+
+ # Make sure we use the system ltdl librariry rather than the ones in the tarball
+ rm -r opal/libltdl
./configure --prefix=/usr \
--sysconfdir=/etc/${pkgname} \
@@ -41,7 +44,7 @@ build() {
--enable-pretty-print-stacktrace \
--without-slurm \
--with-hwloc=/usr \
- --with-libltdl=/usr \
+ --with-libltdl=/usr \
FC=/usr/bin/gfortran \
LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
@@ -55,7 +58,7 @@ package() {
# FS#28583
install -d -m 755 "${pkgdir}"/usr/lib/pkgconfig
for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
- ln -sf /usr/lib/openmpi/pkgconfig/$i "${pkgdir}"/usr/lib/pkgconfig/
+ ln -sf /usr/lib/openmpi/pkgconfig/${i} "${pkgdir}"/usr/lib/pkgconfig/
done
# Openmpi's otfinfo conflicts with the one from texlive