git: 009d7ee674aa - main - devel/pcre2: Build static libraries by default, required by qemu-user-static

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 25 Nov 2025 09:32:24 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=009d7ee674aa6ad8998b7e80d9cd56247a8e4064

commit 009d7ee674aa6ad8998b7e80d9cd56247a8e4064
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-11-25 09:30:45 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-11-25 09:32:18 +0000

    devel/pcre2: Build static libraries by default, required by qemu-user-static
    
    Reported by:    imp
---
 devel/pcre2/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/pcre2/Makefile b/devel/pcre2/Makefile
index 71fe8ad95e67..742b9ee1ddb1 100644
--- a/devel/pcre2/Makefile
+++ b/devel/pcre2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pcre2
 DISTVERSION=	10.47
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/PCRE2Project/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
 
@@ -24,6 +25,7 @@ CMAKE_ON=		BUILD_SHARED_LIBS \
 CMAKE_OFF=		PCRE2_BUILD_TESTS
 
 OPTIONS_DEFINE=		DOCS LIBBZ2 LIBZ STATIC
+OPTIONS_DEFAULT=	STATIC
 OPTIONS_RADIO=		CLI
 OPTIONS_RADIO_CLI=	LIBEDIT READLINE
 OPTIONS_SUB=		yes