From 5801c5acd80d30d17aaef76b8bc401c61b3ef3c9 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 5 May 2012 00:01:14 +0000 Subject: Sat May 5 00:01:14 UTC 2012 --- extra/openmpi/PKGBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'extra/openmpi') diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD index c29af7221..5de207936 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 pkgname=openmpi pkgver=1.5.5 -pkgrel=2 +pkgrel=3 pkgdesc="High performance message passing library (MPI)" arch=('i686' 'x86_64') url="http://www.open-mpi.org" license=('custom') -depends=('gcc' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc') +depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc') makedepends=('inetutils') options=(!libtool) source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2 @@ -20,6 +20,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} \ @@ -34,7 +37,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" @@ -48,7 +51,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 -- cgit v1.2.3-54-g00ecf