[arch-commits] Commit in lrs/trunk (PKGBUILD lrs-system-cflags.patch)

Antonio Rojas arojas at archlinux.org
Thu Jun 4 10:02:56 UTC 2020


    Date: Thursday, June 4, 2020 @ 10:02:56
  Author: arojas
Revision: 638880

Update to 071

Modified:
  lrs/trunk/PKGBUILD
  lrs/trunk/lrs-system-cflags.patch

-------------------------+
 PKGBUILD                |   10 +++++-----
 lrs-system-cflags.patch |   28 +++++++++++++++-------------
 2 files changed, 20 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-04 09:39:15 UTC (rev 638879)
+++ PKGBUILD	2020-06-04 10:02:56 UTC (rev 638880)
@@ -1,9 +1,9 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=lrs
-pkgver=070.a
+pkgver=071
 _pkgver=${pkgver/./}
-pkgrel=2
+pkgrel=1
 pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems"
 arch=(x86_64)
 url="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
@@ -11,8 +11,8 @@
 depends=(gmp)
 source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$_pkgver.tar.gz"
         lrs-system-cflags.patch)
-sha256sums=('d38cb8633e856398b461b35daa269d960c2c0e12b3df5725359dc3940b518e0c'
-            '23814d543e458f43b9871f5de6112f3ca331d8ded3449c7e2efa681ca5a6606f')
+sha256sums=('d3ea5636bfde3011d43c835773fabe131d9251197b6cc666a52d8caa3e1c7816'
+            '8e43f9f6c583c653e28b75907f27f616f45f36d6fc677a4aae6a7004d60424c0')
 
 prepare() {
   cd lrslib-${pkgver%.*}
@@ -21,7 +21,7 @@
 
 build() {
   cd lrslib-${pkgver%.*}
-  make -j1
+  make
 }
 
 package() {

Modified: lrs-system-cflags.patch
===================================================================
--- lrs-system-cflags.patch	2020-06-04 09:39:15 UTC (rev 638879)
+++ lrs-system-cflags.patch	2020-06-04 10:02:56 UTC (rev 638880)
@@ -1,14 +1,19 @@
---- lrslib-070/makefile.orig	2019-04-29 11:53:55.707113154 +0000
-+++ lrslib-070/makefile	2019-04-29 11:55:36.485187714 +0000
-@@ -35,7 +35,6 @@
- #INCLUDEDIR = /usr/local/include:/usr/include
- #LIBDIR     = /usr/local/lib:/usr/lib
+--- lrslib-071/makefile.orig	2020-06-04 09:58:02.217703517 +0000
++++ lrslib-071/makefile	2020-06-04 09:59:20.505523290 +0000
+@@ -32,10 +32,9 @@
+ #LIBDIR     = /usr/lib
  
--CFLAGS     = -O3 -Wall
- SHLIB_CFLAGS = -fPIC
- mpicxx=mpic++
+ #Kyoto machines usage
+-INCLUDEDIR = /usr/local/include
+-LIBDIR     = /usr/local/lib
++INCLUDEDIR = /usr/include
++LIBDIR     = /usr/lib
  
-@@ -204,7 +203,7 @@
+-CFLAGS     = -O3 -Wall 
+ #CFLAGS     = -g -Wall 
+ 
+ #use this if you want only output file contain data between begin/end lines
+@@ -194,7 +193,7 @@
  # Building (linking) the shared library, and relevant symlinks.
  
  ${SHLIB}: ${SHLIBOBJ}
@@ -17,7 +22,7 @@
  
  ${SONAME}: ${SHLIB}
  	ln -sf ${SHLIB} ${SONAME}
-@@ -217,13 +216,13 @@
+@@ -207,11 +206,11 @@
  all-shared: ${SHLIBBIN}
  
  lrs-shared: ${SHLINK} lrs.o
@@ -24,9 +29,6 @@
 -	$(CC) lrs.o -o $@ -L . -llrs
 +	$(CC) lrs.o -o $@ -L . -llrs ${LDFLAGS}
  
- redund-shared: ${SHLINK}  redund.o
--	$(CC) redund.o -o $@ -L . -llrs
-+	$(CC) redund.o -o $@ -L . -llrs ${LDFLAGS}
  
  lrsnash-shared: ${SHLINK}  lrsnash.c
 -	$(CC) -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp



More information about the arch-commits mailing list