summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Nikolai Viessmann2018-04-22 11:35:54 +0200
committerHans-Nikolai Viessmann2018-04-22 11:35:54 +0200
commit47811acf7b01aaa351f37caf7299efa3db3a2258 (patch)
treef56df80cf758f2e29f59b18a16bee61f70be416f
parent022d1e51d5d16a5ee6e38e18bc1e8be26d9a984d (diff)
downloadaur-47811acf7b01aaa351f37caf7299efa3db3a2258.tar.gz
minor bump
latest version of NTL (v11) uses pthreads for some reason so we need to build barvinok with the correct linking flags. Also dropped i686 support - as per ArchLinux standard.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD13
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95f7a14229e..e2e6c7c93e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = barvinok
pkgdesc = A library for counting the number of integer points in parametric and non-parametric polytopes
pkgver = 0.40
- pkgrel = 1
+ pkgrel = 2
url = http://freecode.com/projects/barvinok
- arch = i686
arch = x86_64
license = GPL
depends = ntl
diff --git a/PKGBUILD b/PKGBUILD
index 651dc89cdbf..18afe8bf584 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,9 @@
-# Maintainer: Hans-Nikolai Viessmann <hv15 AT hw.ac.uk>
-# Category: science
+# Maintainer: Hans-Nikolai Viessmann <hans AT viess.mn>
pkgname='barvinok'
-pkgver='0.40'
-pkgrel=1
+pkgver=0.40
+pkgrel=2
pkgdesc='A library for counting the number of integer points in parametric and non-parametric polytopes'
-arch=('i686' 'x86_64')
+arch=('x86_64')
url='http://freecode.com/projects/barvinok'
license=('GPL')
depends=('ntl' 'isl' 'polylib-gmp')
@@ -13,7 +12,9 @@ md5sums=('a5c0b48b4e336ee652e6e517d14ea9b6')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --enable-shared-barvinok --with-isl=system --with-polylib=system
+
+ # NTL 11 now uses pthread functions, so we need to have it link to libpthread.
+ ./configure --prefix=/usr --enable-shared-barvinok --with-isl=system --with-polylib=system LIBS="-lpthread"
make
}