git: 4f5fa1ab0b72 - main - cad/kicad: use GNU tar for building resources/images.tar.gz
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Jun 2026 18:51:10 UTC
The branch main has been updated by cmt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4f5fa1ab0b725426b54a5ce894cec6bc6368511e
commit 4f5fa1ab0b725426b54a5ce894cec6bc6368511e
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2026-06-20 18:43:51 +0000
Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2026-06-20 18:49:14 +0000
cad/kicad: use GNU tar for building resources/images.tar.gz
This is a prerequisite for having reproducible package builds:
the archive would have to be the same across builds, and we get
that by setting all file timestamps inside the archive to a fixed
value (the epoch, typically) or removing the timestamps alltogether,
if possible (atime and ctime).
Doing this requires GNU tar, as the neccessary extensions are not
available in FreeBSD's base system tar.
The only affected file in this package is share/kicad/resources/images.tar.gz.
PR: 291905
Differential Revision: https://reviews.freebsd.org/D57069
Reported by: cen
---
cad/kicad/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile
index c84cef6ec9e5..43f870c08e64 100644
--- a/cad/kicad/Makefile
+++ b/cad/kicad/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kicad
DISTVERSION= 10.0.4
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= cad
@@ -10,7 +11,8 @@ WWW= https://kicad.org/
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm \
- swig:devel/swig
+ swig:devel/swig \
+ gtar:archivers/gtar
LIB_DEPENDS= libboost_locale.so:devel/boost-libs \
libabsl_log_internal_check_op.so:devel/abseil \
libgit2.so:devel/libgit2 \
@@ -62,7 +64,8 @@ CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \
-DKICAD_WAYLAND=ON \
-DKICAD_INSTALL_DEMOS=ON \
-DNANODBC_ENABLE_BOOST=ON \
- -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE
+ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE \
+ -DTAR=${LOCALBASE}/bin/gtar
CMAKE_ENV+= DODBC_PATH=${LOCALBASE}
USE_LDCONFIG= yes