summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Williams2016-06-21 09:22:03 +1200
committerSamuel Williams2016-06-21 09:30:18 +1200
commit5de965c9fece1991aafe6f7a989f2d09902d9064 (patch)
tree540a024c78d8dc962658137c8b82f9f454b82a8e
parent74e367ece06b06c383caabb90003c46f1d8b1d17 (diff)
downloadaur-5de965c9fece1991aafe6f7a989f2d09902d9064.tar.gz
Fix linking issues with libbz2 and upstream openfoam
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 63e280efbab0..183fccc89037 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = scotch
pkgdesc = Software package and libraries for graph, mesh and hypergraph partitioning, static mapping, and sparse matrix block ordering. This is the all-inclusive version (MPI/serial/esmumps).
pkgver = 6.0.4
- pkgrel = 1
+ pkgrel = 2
url = http://www.labri.fr/perso/pelegrin/scotch/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index d0a85fe74ea1..3a654ae692a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,9 @@
-# Maintainer: George Eleftheriou <eleftg>
-# Contributor: eolianoe <eolianoe>
+# Maintainer: Samuel Williams <ioquatix>
pkgname=scotch
pkgver=6.0.4
_downloadnum=34618 # gforge is insane
-pkgrel=1
+pkgrel=2
pkgdesc="Software package and libraries for graph, mesh and hypergraph partitioning, static mapping, and sparse matrix block ordering. This is the all-inclusive version (MPI/serial/esmumps)."
url="http://www.labri.fr/perso/pelegrin/scotch/"
license=("custom:CeCILL-C")
@@ -17,6 +16,9 @@ sha256sums=('f53f4d71a8345ba15e2dd4e102a35fd83915abf50ea73e1bf6efe1bc2b4220c7')
prepare() {
cd "${srcdir}/${pkgname}_${pkgver}/src"
+
+ # Apply patch to fix shared library ldflags
+ sed -i 's/$(AR) $(ARFLAGS) $(@) $(?)/$(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS)/g' libscotch/Makefile
[ -e Makefile.inc ] && rm Makefile.inc
cp "Make.inc/Makefile.inc.${CARCH/_/-}_pc_linux2.shlib" Makefile.inc