git: 13b6afe24499 - main - science/liblinear: Update to 2.46
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:25:03 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=13b6afe24499a7f06df7426cd65386eb726175c1
commit 13b6afe24499a7f06df7426cd65386eb726175c1
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:40:17 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:20:08 +0000
science/liblinear: Update to 2.46
Changes: https://github.com/cjlin1/liblinear/commits/master
---
science/liblinear/Makefile | 2 +-
science/liblinear/distinfo | 6 +++---
science/liblinear/files/patch-Makefile | 15 +++++++++++++++
3 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/science/liblinear/Makefile b/science/liblinear/Makefile
index 0efb9165cd19..b2bc04794e3e 100644
--- a/science/liblinear/Makefile
+++ b/science/liblinear/Makefile
@@ -1,5 +1,5 @@
PORTNAME= liblinear
-PORTVERSION= 2.45
+PORTVERSION= 2.46
CATEGORIES= science math
MASTER_SITES= https://www.csie.ntu.edu.tw/~cjlin/liblinear/ \
https://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/
diff --git a/science/liblinear/distinfo b/science/liblinear/distinfo
index cfe81088e391..3cc1c8e8cd38 100644
--- a/science/liblinear/distinfo
+++ b/science/liblinear/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661599151
-SHA256 (liblinear-2.45.tar.gz) = 3c64eec45c01943a656baac7aeb8ffd782fe0aea53629aa9f5fdb8eec177c92f
-SIZE (liblinear-2.45.tar.gz) = 571636
+TIMESTAMP = 1677771037
+SHA256 (liblinear-2.46.tar.gz) = 616dd3a9b5596894de427f141a4902fa99dafc51ff9d18e8d723852fdc0cb53b
+SIZE (liblinear-2.46.tar.gz) = 569001
diff --git a/science/liblinear/files/patch-Makefile b/science/liblinear/files/patch-Makefile
new file mode 100644
index 000000000000..c1db84bab5ff
--- /dev/null
+++ b/science/liblinear/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig 2023-02-17 12:01:34 UTC
++++ Makefile
+@@ -5,11 +5,7 @@ LIBS = blas/blas.a
+ #LIBS = -lblas
+ SHVER = 5
+ OS = $(shell uname)
+-ifeq ($(OS),Darwin)
+- SHARED_LIB_FLAG = -dynamiclib -Wl,-install_name,liblinear.so.$(SHVER)
+-else
+- SHARED_LIB_FLAG = -shared -Wl,-soname,liblinear.so.$(SHVER)
+-endif
++SHARED_LIB_FLAG = -shared -Wl,-soname,liblinear.so.$(SHVER)
+
+ all: train predict
+