Date: Sunday, April 26, 2020 @ 08:34:21 Author: arojas Revision: 621519
Fix pc file Added: linbox/trunk/linbox-fix-pc.patch Modified: linbox/trunk/PKGBUILD ---------------------+ PKGBUILD | 13 ++++++++++--- linbox-fix-pc.patch | 23 +++++++++++++++++++++++ 2 files changed, 33 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-04-26 07:30:27 UTC (rev 621518) +++ PKGBUILD 2020-04-26 08:34:21 UTC (rev 621519) @@ -2,7 +2,7 @@ pkgname=linbox pkgver=1.6.3 -pkgrel=1 +pkgrel=2 pkgdesc="A template library for exact, high-performance linear algebra computation with dense, sparse, and structured matrices over the integers and over finite fields" arch=(x86_64) url="https://linalg.org/" @@ -9,9 +9,16 @@ license=(LGPL) depends=(fflas-ffpack) makedepends=(m4rie flint iml fplll) -source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('a58a188307b07c57964e844bceb99321d3043a8a4a1fccc082a54928bb9a0057') +source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" + linbox-fix-pc.patch) +sha256sums=('a58a188307b07c57964e844bceb99321d3043a8a4a1fccc082a54928bb9a0057' + 'd206f828fb7f4a5194e8e395e99e37c16462e29086c03a95cfdc51c02b4fc874') +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../linbox-fix-pc.patch # Fix bogus variable in pc file +} + build() { cd $pkgname-$pkgver Added: linbox-fix-pc.patch =================================================================== --- linbox-fix-pc.patch (rev 0) +++ linbox-fix-pc.patch 2020-04-26 08:34:21 UTC (rev 621519) @@ -0,0 +1,23 @@ +Backported from: + +From 426eb97ba762c7663884f57ead0909f2aa3cd6a5 Mon Sep 17 00:00:00 2001 +From: Cyril Bouvier <[email protected]> +Date: Thu, 17 Jan 2019 16:32:19 +0100 +Subject: [PATCH] Remove @LINBOXSAGE_LIBS@ from linbox.pc.in + +--- + linbox.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/linbox.pc.in b/linbox.pc.in +index 278f127e4..c6b8091eb 100644 +--- a/linbox.pc.in ++++ b/linbox.pc.in +@@ -9,6 +9,6 @@ Description: Exact Linear Algebra library + URL: http://github.com/linbox-team/linbox + Version: @VERSION@ + Requires: fflas-ffpack >= 2.4.0, givaro >= 4.1.0 +-Libs: -L${libdir} -llinbox @LINBOXSAGE_LIBS@ @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@ ++Libs: -L${libdir} -llinbox @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@ + Cflags: @DEFAULT_CFLAGS@ -DDISABLE_COMMENTATOR -I${includedir} @NTL_CFLAGS@ @MPFR_CFLAGS@ @FPLLL_CFLAGS@ @IML_CFLAGS@ @FLINT_CFLAGS@ + \-------------------------------------------------------
