git: 5d713577de4d - main - math/lrslib: update 7.2 → 7.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Jan 2025 06:35:23 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5d713577de4df5d1550ca3824ff672736423fcab
commit 5d713577de4df5d1550ca3824ff672736423fcab
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-16 06:14:04 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-16 06:35:10 +0000
math/lrslib: update 7.2 → 7.3
---
math/lrslib/Makefile | 4 +++-
math/lrslib/distinfo | 6 +++---
math/lrslib/files/patch-lrslib.c | 20 --------------------
math/lrslib/files/patch-makefile | 15 ++++-----------
math/lrslib/pkg-plist | 2 --
5 files changed, 10 insertions(+), 37 deletions(-)
diff --git a/math/lrslib/Makefile b/math/lrslib/Makefile
index ff90efd67b17..8e0e4575a7b4 100644
--- a/math/lrslib/Makefile
+++ b/math/lrslib/Makefile
@@ -1,5 +1,5 @@
PORTNAME= lrslib
-PORTVERSION= 7.2
+PORTVERSION= 7.3
PORTEPOCH= 1
CATEGORIES= math
MASTER_SITES= http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/
@@ -28,6 +28,8 @@ ALL_TARGET= all-shared
MAKE_ARGS= CFLAGS="${CFLAGS}" INCLUDEDIR=${LOCALBASE}/include LIBDIR=${LOCALBASE}/lib
+CFLAGS+= -I${WRKSRC}/lrsarith-011
+
LDFLAGS+= -lthr
BINARY_ALIAS= gcc=${CC}
diff --git a/math/lrslib/distinfo b/math/lrslib/distinfo
index f61bda8a52bf..1eb493395c79 100644
--- a/math/lrslib/distinfo
+++ b/math/lrslib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692066216
-SHA256 (lrslib-072.tar.gz) = fc48754a1ded1d8445d40ecfbe3546e4f27d53aaee95dc2c8c0c79fb9cd532f0
-SIZE (lrslib-072.tar.gz) = 496411
+TIMESTAMP = 1737006260
+SHA256 (lrslib-073.tar.gz) = c49a4ebd856183473d1d5a62785fcdfe1057d5d671d4b96f3a1250eb1afe4e83
+SIZE (lrslib-073.tar.gz) = 4566562
diff --git a/math/lrslib/files/patch-lrslib.c b/math/lrslib/files/patch-lrslib.c
deleted file mode 100644
index fbf12fc76261..000000000000
--- a/math/lrslib/files/patch-lrslib.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- lrslib.c.orig 2022-03-10 09:42:46 UTC
-+++ lrslib.c
-@@ -32,6 +32,8 @@
- #include <limits.h>
- #include <libgen.h>
-
-+#include <libgen.h> // for basename(3)
-+
- #include "lrsrestart.h"
- #include "lrslib.h"
-
-@@ -75,7 +77,7 @@ static void ptimes (void);
- static double get_time(void);
- #endif
-
--char *basename(char *path);
-+//char *basename(char *path);
-
- /*******************************/
- /* signals handling */
diff --git a/math/lrslib/files/patch-makefile b/math/lrslib/files/patch-makefile
index 5388f8509c94..25cbee446c96 100644
--- a/math/lrslib/files/patch-makefile
+++ b/math/lrslib/files/patch-makefile
@@ -1,6 +1,6 @@
---- makefile.orig 2022-03-10 09:42:46 UTC
+--- makefile.orig 2024-05-31 03:17:39 UTC
+++ makefile
-@@ -231,7 +231,7 @@ SHLIBBIN=lrs-shared lrsnash-shared
+@@ -246,7 +246,7 @@ ${SHLIB}: ${SHLIBOBJ}
# Building (linking) the shared library, and relevant symlinks.
${SHLIB}: ${SHLIBOBJ}
@@ -9,7 +9,7 @@
${SONAME}: ${SHLIB}
ln -sf ${SHLIB} ${SONAME}
-@@ -244,11 +244,11 @@ ${SHLINK}: ${SONAME}
+@@ -259,11 +259,11 @@ lrs-shared: ${SHLINK} lrs-shared.o
all-shared: ${SHLIBBIN}
lrs-shared: ${SHLINK} lrs-shared.o
@@ -23,14 +23,7 @@
# driver object files
-@@ -282,19 +282,19 @@ lrslib2-shr.o: lrslib.c lrslib.h
- # install targets
- # where to install binaries, libraries, include files
- prefix ?= /usr/local
--INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h lrsrestart.h
-+INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h lrsnashlib.h lrsrestart.h mplrs.h
-
- install: all-shared install-common
+@@ -303,13 +303,13 @@ install: all-shared install-common
mkdir -p $(DESTDIR)${prefix}/bin
for file in ${SHLIBBIN}; do cp $${file} $(DESTDIR)${prefix}/bin/$$(basename $$file -shared); done
mkdir -p $(DESTDIR)${prefix}/lib
diff --git a/math/lrslib/pkg-plist b/math/lrslib/pkg-plist
index bcfb5091475c..845e88dc296b 100644
--- a/math/lrslib/pkg-plist
+++ b/math/lrslib/pkg-plist
@@ -5,9 +5,7 @@ include/lrslib/lrsgmp.h
include/lrslib/lrslib.h
include/lrslib/lrslong.h
include/lrslib/lrsmp.h
-include/lrslib/lrsnashlib.h
include/lrslib/lrsrestart.h
-include/lrslib/mplrs.h
lib/liblrs.so
lib/liblrs.so.1
lib/liblrs.so.1.0.0