summaryrefslogtreecommitdiff
path: root/extra/openmpi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openmpi/PKGBUILD')
-rw-r--r--extra/openmpi/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD
index 5ee8ba60d..39ea544a8 100644
--- a/extra/openmpi/PKGBUILD
+++ b/extra/openmpi/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 150800 2012-02-22 17:25:13Z stephane $
+# $Id: PKGBUILD 151701 2012-03-01 00:42:34Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=openmpi
pkgver=1.5.4
-pkgrel=4
+pkgrel=5
pkgdesc="High performance message passing library (MPI)"
arch=('i686' 'x86_64')
url="http://www.open-mpi.org"
@@ -10,12 +10,17 @@ license=('custom')
depends=('gcc' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc')
makedepends=('inetutils')
options=(!libtool)
-source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('81f7736a83b2134ba20c2e5c380b4d267cfd9d9c')
+source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2
+ openmpi-1.5.4-fix-fakeroot-execution.patch)
+sha1sums=('81f7736a83b2134ba20c2e5c380b4d267cfd9d9c'
+ 'ec46abb6f9e01daca910e4079b9abc036db9ed20')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # Fix fakeroot problem (FS#28644)
+ patch -Np1 -i ../openmpi-1.5.4-fix-fakeroot-execution.patch
+
./configure --prefix=/usr \
--sysconfdir=/etc/${pkgname} \
--mandir=/usr/share/man \
@@ -50,7 +55,7 @@ package() {
mv "${pkgdir}"/usr/bin/otfinfo{,mpi}
# Openmpi's otfdump conflicts with the one from libotf
- mv "${pkgdir}"/usr/bin/otfdump{,ompi}
+ mv "${pkgdir}"/usr/bin/otfdump{,ompi}
# Remove dangling symlink
rm "${pkgdir}"/usr/share/man/man1/orteCC.1