git: 5bc291f5ecd1 - main - devel/libjitterentropy: Add static library

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 27 Mar 2025 09:18:17 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5bc291f5ecd1af4f3a2c643ef4b36b6a95038dad

commit 5bc291f5ecd1af4f3a2c643ef4b36b6a95038dad
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-03-27 09:15:42 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-03-27 09:17:14 +0000

    devel/libjitterentropy: Add static library
    
    OpenSSL 3.5 adds FIPS-JITTER option which require the static library for
    linking when the option is enabled.
    
    PR:             285694
    Reported by:    brnrd
---
 devel/libjitterentropy/Makefile  | 6 ++++--
 devel/libjitterentropy/pkg-plist | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/devel/libjitterentropy/Makefile b/devel/libjitterentropy/Makefile
index 2b6587d37959..d0244b038723 100644
--- a/devel/libjitterentropy/Makefile
+++ b/devel/libjitterentropy/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	libjitterentropy
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.6.2
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -11,11 +12,12 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.bsd
 
 USES=		gmake
-USE_LDCONFIG=	yes
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	smuellerDD
 GH_PROJECT=	jitterentropy-library
+USE_LDCONFIG=	yes
+
+INSTALL_TARGET=	install install-static
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION} PORTVERSION_MAJOR=${PORTVERSION:C/\..*//}
 
diff --git a/devel/libjitterentropy/pkg-plist b/devel/libjitterentropy/pkg-plist
index 6057cad99935..871874e7e8a7 100644
--- a/devel/libjitterentropy/pkg-plist
+++ b/devel/libjitterentropy/pkg-plist
@@ -1,5 +1,6 @@
 include/jitterentropy-base-user.h
 include/jitterentropy.h
+lib/libjitterentropy.a
 lib/libjitterentropy.so
 lib/libjitterentropy.so.%%PORTVERSION_MAJOR%%
 lib/libjitterentropy.so.%%PORTVERSION%%