Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
polymake


Commits:
b2ee434d by Antonio Rojas at 2026-07-10T23:11:29+02:00
upgpkg: 4.15-11: Restore polydb

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = polymake
        pkgdesc = Open source software for research in polyhedral geometry
        pkgver = 4.15
-       pkgrel = 10
+       pkgrel = 11
        url = https://polymake.org/
        arch = x86_64
        license = GPL-2.0-or-later


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=polymake
 pkgver=4.15
-pkgrel=10
+pkgrel=11
 _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)
@@ -50,6 +50,7 @@ options=(!emptydirs)
 
 prepare() {
   sed -e 's|-lsoplex -lz|-lsoplex -ltbb -lz|g' -i 
polymake-$pkgver/bundled/soplex/support/configure.pl # Fix soplex linking
+  sed -e 's|lmongoc-1.0|lmongoc2|g' -e 's|lbson-1.0|lbson2|g' -i 
polymake-$pkgver/bundled/polydb/support/configure.pl # Support mongo-c-driver 2
 }
 
 build() {
@@ -61,7 +62,10 @@ build() {
     --with-lrs=/usr \
     --with-permlib=/usr \
     --with-soplex=/usr \
-    --with-sympol=/usr
+    --with-sympol=/usr \
+    --with-mongoc-include=/usr/include/mongoc-2.3.0/ \
+    --with-bson-include=/usr/include/bson-2.3.0/ \
+    --with-mongoc-lib=libmongoc2
   make
 
   find . -name 'polymake_java.jar' -exec strip-nondeterminism {} +



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/polymake/-/commit/b2ee434da8b08879ffce92ebb05b66f4ccb05c63

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/polymake/-/commit/b2ee434da8b08879ffce92ebb05b66f4ccb05c63
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to