git: 6b09422d723f - main - devel/yyjson: enable building shared library

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 23 Aug 2023 22:26:06 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b09422d723f8b760e549f260093aeaa2f79e81e

commit 6b09422d723f8b760e549f260093aeaa2f79e81e
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-23 22:24:26 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-23 22:24:26 +0000

    devel/yyjson: enable building shared library
---
 devel/yyjson/Makefile  | 3 +++
 devel/yyjson/pkg-plist | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/devel/yyjson/Makefile b/devel/yyjson/Makefile
index bd4a214ffab9..bb71d4b65688 100644
--- a/devel/yyjson/Makefile
+++ b/devel/yyjson/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	yyjson
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	pkubaj@FreeBSD.org
@@ -12,4 +13,6 @@ USES=		cmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	ibireme
 
+CMAKE_ON=	BUILD_SHARED_LIBS
+
 .include <bsd.port.mk>
diff --git a/devel/yyjson/pkg-plist b/devel/yyjson/pkg-plist
index 383c0bd83eb6..120fcb970ccc 100644
--- a/devel/yyjson/pkg-plist
+++ b/devel/yyjson/pkg-plist
@@ -1,4 +1,5 @@
 include/yyjson.h
 lib/cmake/yyjson/yyjson-config-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/yyjson/yyjson-config.cmake
-lib/libyyjson.a
+lib/libyyjson.so
+lib/libyyjson.so.0.7.0