extra/polymake to 4.12-4

This commit is contained in:
David Beauchamp 2024-09-04 16:55:53 -04:00
parent 8d72eb0f52
commit 29b2b851f2
2 changed files with 3 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = polymake
pkgdesc = Open source software for research in polyhedral geometry
pkgver = 4.12
pkgrel = 2
pkgrel = 4
url = https://polymake.org/
arch = x86_64
license = GPL
@ -9,7 +9,6 @@ pkgbase = polymake
makedepends = boost
makedepends = jdk-openjdk
makedepends = libnsl
makedepends = nauty
makedepends = ninja
makedepends = permlib
makedepends = soplex

View file

@ -8,7 +8,7 @@ highmem=1
pkgname=polymake
pkgver=4.12
pkgrel=2
pkgrel=4
_perlver=`perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]).".".($v->[2]);'`
pkgdesc='Open source software for research in polyhedral geometry'
arch=(x86_64)
@ -40,7 +40,6 @@ makedepends=(ant
boost
jdk-openjdk
libnsl
nauty
ninja
permlib
soplex)
@ -53,6 +52,7 @@ sha256sums=('bd5a667ffca4bf7eb8d51134030ce3df3b16dd9d0e800fafdb1ce835867640d9'
prepare() {
sed -e 's|-lgmp|-lgmp -lmpfr|g' -i polymake-$pkgver/bundled/soplex/support/configure.pl # Fix soplex linking
patch -d polymake-$pkgver -p1 < lrs-073.patch # Fix build with lrs 073
sed -e 's|5.040|5.042|' -i $pkgname-$pkgver/support/configure.pl # Support perl 5.40
}
build() {