git: 1eddac31622e - main - security/blst: add soname to the library
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Mar 2025 16:49:13 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1eddac31622eb7c1e796df437f2b120cdbc0b648
commit 1eddac31622eb7c1e796df437f2b120cdbc0b648
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-03-20 16:48:29 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-03-20 16:49:02 +0000
security/blst: add soname to the library
soname is necessary to the library is properly provided
---
security/blst/Makefile | 1 +
security/blst/files/patch-build.sh | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/security/blst/Makefile b/security/blst/Makefile
index 4c623457564e..71b1b7156931 100644
--- a/security/blst/Makefile
+++ b/security/blst/Makefile
@@ -1,6 +1,7 @@
PORTNAME= blst
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.14
+PORTREVISION= 1
CATEGORIES= security devel
MAINTAINER= arrowd@FreeBSD.org
diff --git a/security/blst/files/patch-build.sh b/security/blst/files/patch-build.sh
new file mode 100644
index 000000000000..d9d64aa1ea33
--- /dev/null
+++ b/security/blst/files/patch-build.sh
@@ -0,0 +1,9 @@
+--- build.sh.orig 2025-03-20 16:46:21 UTC
++++ build.sh
+@@ -124,5 +124,6 @@ if [ $shared ]; then
+ esac
+ (set -x; ${CC} -shared -o $sharedlib \
+ -Wl,--whole-archive,libblst.a,--no-whole-archive ${CFLAGS} \
++ -Wl,--soname=${sharedlib} \
+ -Wl,-Bsymbolic)
+ fi