diff options
author | root <root@rshg054.dnsready.net> | 2012-02-23 23:15:11 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-23 23:15:11 +0000 |
commit | d466ef49f224a9347fe0375eac8126725e10a0a4 (patch) | |
tree | c08a9d7437c4d6de169858ac98fb340fd90202c2 /extra/openmpi | |
parent | 1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 (diff) |
Thu Feb 23 23:15:11 UTC 2012
Diffstat (limited to 'extra/openmpi')
-rw-r--r-- | extra/openmpi/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD index 990899c83..5ee8ba60d 100644 --- a/extra/openmpi/PKGBUILD +++ b/extra/openmpi/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 147726 2012-01-27 15:43:19Z stephane $ +# $Id: PKGBUILD 150800 2012-02-22 17:25:13Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> pkgname=openmpi pkgver=1.5.4 -pkgrel=3 +pkgrel=4 pkgdesc="High performance message passing library (MPI)" arch=('i686' 'x86_64') url="http://www.open-mpi.org" @@ -40,13 +40,19 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + # 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/ + done + # Openmpi's otfinfo conflicts with the one from texlive - mv "${pkgdir}"/usr/bin/otfinfo "${pkgdir}"/usr/bin/otfinfompi + mv "${pkgdir}"/usr/bin/otfinfo{,mpi} # Openmpi's otfdump conflicts with the one from libotf - mv "${pkgdir}"/usr/bin/otfdump "${pkgdir}"/usr/bin/otfdumpompi + mv "${pkgdir}"/usr/bin/otfdump{,ompi} - # Symlink points to non-existing ortec++.1 + # Remove dangling symlink rm "${pkgdir}"/usr/share/man/man1/orteCC.1 install -d -m 755 "${pkgdir}"/etc/ld.so.conf.d |