git: 8676118bb14f - main - sysutils/pdumpfs: Fix build with ruby34
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Feb 2026 19:38:19 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8676118bb14fb0a8e3158159210f42634afd9b28
commit 8676118bb14fb0a8e3158159210f42634afd9b28
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-02-10 19:35:26 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-02-10 19:35:26 +0000
sysutils/pdumpfs: Fix build with ruby34
- Bump PORTREVISION for dependency change
PR: 292489
---
sysutils/pdumpfs/Makefile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/sysutils/pdumpfs/Makefile b/sysutils/pdumpfs/Makefile
index dbf5b1cae306..6a7559604c23 100644
--- a/sysutils/pdumpfs/Makefile
+++ b/sysutils/pdumpfs/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pdumpfs
PORTVERSION= 1.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= http://0xcc.net/pdumpfs/
@@ -24,6 +24,12 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} >= 3.4
+RUN_DEPENDS+= rubygem-nkf>=0:net/rubygem-nkf
+.endif
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${STAGEDIR}${PREFIX}/share/man/man8
@@ -35,4 +41,4 @@ do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>