git: 593d86f189b7 - main - devel/capnproto: Add notice about kernel bug affecting 15.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 09 May 2026 19:13:34 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=593d86f189b741f677d1bbb2c246ada863189ecd

commit 593d86f189b741f677d1bbb2c246ada863189ecd
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-05-09 18:52:55 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-05-09 19:12:43 +0000

    devel/capnproto: Add notice about kernel bug affecting 15.0
    
    Add notice about kernel bug on 15.0
    While at it do a minor change to port Makefile
    
    Reference:
    https://cgit.freebsd.org/src/commit/?id=476805133f5736c2c8638e41d2b5d8dd2c597f3a
---
 devel/capnproto/Makefile    |  3 ++-
 devel/capnproto/pkg-message | 10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/devel/capnproto/Makefile b/devel/capnproto/Makefile
index 6748b79a7c1b..a7aa0492911e 100644
--- a/devel/capnproto/Makefile
+++ b/devel/capnproto/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	capnproto
 DISTVERSION=	1.4.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://capnproto.org/
 DISTNAME=	${PORTNAME}-c++-${DISTVERSION}
@@ -16,7 +17,7 @@ USE_LDCONFIG=	yes
 
 CONFLICTS_INSTALL=	capnproto1
 
-PLIST_SUB=	DISTVERSION="${DISTVERSION}"
+PLIST_SUB=	DISTVERSION=${DISTVERSION}
 
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	BUILD_TESTING
diff --git a/devel/capnproto/pkg-message b/devel/capnproto/pkg-message
new file mode 100644
index 000000000000..c880aed5a20d
--- /dev/null
+++ b/devel/capnproto/pkg-message
@@ -0,0 +1,10 @@
+[
+{ type: install
+  message: <<EOM
+Due to a kernel bug this library may not work as intended on 15.0-RELEASE,
+it's expected to be fixed in 15.1-RELEASE. See following URL for more
+information:
+https://cgit.freebsd.org/src/commit/?id=476805133f5736c2c8638e41d2b5d8dd2c597f3a
+EOM
+}
+]