git: 27f5051ac41a - main - sysutils/dfc: Update and fix build with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Oct 2026 17:38:28 UTC
The branch main has been updated by nxjoseph:
URL: https://cgit.FreeBSD.org/ports/commit/?id=27f5051ac41a8596b6af88114fed4852b340446a
commit 27f5051ac41a8596b6af88114fed4852b340446a
Author: Matteo Cypriani <mcy@lm7.fr>
AuthorDate: 2026-10-17 12:15:05 +0000
Commit: Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-10-26 17:37:56 +0000
sysutils/dfc: Update and fix build with CMake 4
- Update port to snapshot dated 20251014.
- Upstream moved to GitHub.
- Pet port{clippy,fmt}.
PR: 299500, 297958
Reported by: arrowd (PR 297958)
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q4
---
sysutils/dfc/Makefile | 18 ++++++++++++------
sysutils/dfc/distinfo | 6 +++---
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/sysutils/dfc/Makefile b/sysutils/dfc/Makefile
index da66b27ca2f2..c49f2ca3bc1e 100644
--- a/sysutils/dfc/Makefile
+++ b/sysutils/dfc/Makefile
@@ -1,20 +1,26 @@
PORTNAME= dfc
-DISTVERSION= 3.1.1
-PORTREVISION= 1
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.1.1.20251014
CATEGORIES= sysutils
-MASTER_SITES= https://projects.gw-computing.net/attachments/download/615/
MAINTAINER= mcy@lm7.fr
COMMENT= Display file system space usage using graph and colors
-WWW= https://projects.gw-computing.net/projects/dfc
+WWW= https://github.com/rolinh/dfc
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
-CMAKE_ARGS+= -DMAN_PATH=${PREFIX}/share/man -DDFC_DOC_PATH=${DOCSDIR}
-OPTIONS_DEFINE= NLS DOCS
+USE_GITHUB= yes
+GH_ACCOUNT= rolinh
+# This commit fixes build with CMake 4
+GH_TAGNAME= b14e3162963d5edefe9ab293f97fd21fba08c496
+
+CMAKE_ARGS+= -DDFC_DOC_PATH=${DOCSDIR} \
+ -DMAN_PATH=${PREFIX}/share/man
+
+OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
diff --git a/sysutils/dfc/distinfo b/sysutils/dfc/distinfo
index abd573f6f551..5e3e2182783e 100644
--- a/sysutils/dfc/distinfo
+++ b/sysutils/dfc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1505683878
-SHA256 (dfc-3.1.1.tar.gz) = 962466e77407dd5be715a41ffc50a54fce758a78831546f03a6bb282e8692e54
-SIZE (dfc-3.1.1.tar.gz) = 52709
+TIMESTAMP = 1793036084
+SHA256 (rolinh-dfc-v3.1.1.20251014-b14e3162963d5edefe9ab293f97fd21fba08c496_GH0.tar.gz) = c2e8ca60597f4d333cb15929a72a4b42ec0b85b472041fdfeeed4ff014ea0ad2
+SIZE (rolinh-dfc-v3.1.1.20251014-b14e3162963d5edefe9ab293f97fd21fba08c496_GH0.tar.gz) = 93102