diff options
author | Hans-Nikolai Viessmann | 2018-04-22 11:35:54 +0200 |
---|---|---|
committer | Hans-Nikolai Viessmann | 2018-04-22 11:35:54 +0200 |
commit | 47811acf7b01aaa351f37caf7299efa3db3a2258 (patch) | |
tree | f56df80cf758f2e29f59b18a16bee61f70be416f /PKGBUILD | |
parent | 022d1e51d5d16a5ee6e38e18bc1e8be26d9a984d (diff) | |
download | aur-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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 } |