From df5d7cbc88ede61e4a4195889d5d341e269c2dca Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 25 Jan 2016 19:27:08 +0000
Subject: openmpi: update to 1.10.2

---
 abs/extra/openmpi/PKGBUILD | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/abs/extra/openmpi/PKGBUILD b/abs/extra/openmpi/PKGBUILD
index 9c8828c..d6aa6e1 100644
--- a/abs/extra/openmpi/PKGBUILD
+++ b/abs/extra/openmpi/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
 
 pkgname=openmpi
-pkgver=1.8.3
+pkgver=1.10.2
 pkgrel=1
 pkgdesc='High performance message passing library (MPI)'
 arch=(i686 x86_64)
@@ -13,23 +13,13 @@ depends=(libltdl hwloc)
 makedepends=(inetutils valgrind gcc-fortran)
 optdepends=('gcc-fortran: fortran support')
 options=(staticlibs)
-source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2
-        system_ltdl.patch)
-sha1sums=('4be9c5d2a8baee6a80bde94c6485931979a428fe'
-          'd5f8a3d463f1a1f29ca4725d6fb3b9f8c40799dc')
-
-prepare() {
-   cd $pkgname-$pkgver
-
-   # Make sure we use the system ltdl library rather than the ones in the tarball
-   rm -r opal/libltdl
-   patch -p1 < ../system_ltdl.patch
-   ./autogen.pl
-}
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('03934fc0a2dd0d0d2d0459d714a976eabca938fb')
 
 build() {
    cd $pkgname-$pkgver
 
+   ./autogen.pl
    ./configure --prefix=/usr \
                --sysconfdir=/etc/${pkgname} \
                --enable-mpi-fortran=all \
-- 
cgit v0.12

