git: beeb8891525b - main - security/blst: Set proper version in the .pc file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Dec 2025 12:03:22 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=beeb8891525bbf7dce53dfa728d90c2868317eb3
commit beeb8891525bbf7dce53dfa728d90c2868317eb3
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-12-01 13:28:19 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-12-02 12:03:17 +0000
security/blst: Set proper version in the .pc file
---
security/blst/Makefile | 3 ++-
security/blst/files/libblst.pc.in | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/security/blst/Makefile b/security/blst/Makefile
index 71b1b7156931..b9dda2691cc5 100644
--- a/security/blst/Makefile
+++ b/security/blst/Makefile
@@ -1,7 +1,7 @@
PORTNAME= blst
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security devel
MAINTAINER= arrowd@FreeBSD.org
@@ -17,6 +17,7 @@ GH_ACCOUNT= supranational
USE_LDCONFIG= yes
SUB_FILES= libblst.pc
+SUB_LIST= PORTVERSION=${PORTVERSION}
do-build:
cd ${WRKSRC} && ./build.sh -shared
diff --git a/security/blst/files/libblst.pc.in b/security/blst/files/libblst.pc.in
index 61ebd55a98bb..c87504eceba4 100644
--- a/security/blst/files/libblst.pc.in
+++ b/security/blst/files/libblst.pc.in
@@ -6,6 +6,6 @@ includedir=${prefix}/include/libblst
Name: libblst
Description: Multilingual BLS12-381 signature library
URL: https://github.com/supranational/blst
-Version: 0.3.11
+Version: %%PORTVERSION%%
Cflags: -I${includedir}
Libs: -L${libdir} -lblst