aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2023-07-20 20:40:32 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2023-07-20 20:46:10 +0000
commit6aae9fcd852a0acd371a4fa072afce7318f471f1 (patch)
treefad7a84409232519e9b55407b6bfa1ad5ea08af8
parentc98b37be60b3008e1a1c3bd34f16a9cd2c16a9e4 (diff)
downloadports-6aae9fcd852a0acd371a4fa072afce7318f471f1.tar.gz
ports-6aae9fcd852a0acd371a4fa072afce7318f471f1.zip
archivers/gtar: fix build on i386
Override a hidden safety check that stops the build on platforms that are not Y2038 safe. FreeBSD/i386 still has a 32-bit time_t. PR: 272622 Reported by: cy
-rw-r--r--archivers/gtar/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index b2e470b63b6d..bcfa094a5f4f 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -17,6 +17,8 @@ USES= charsetfix cpe iconv:${STATIC_ARGS} localbase tar:xz
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
+# unbuckle safety belt: FreeBSD/i386 still has 32-bit time_t
+CONFIGURE_ARGS+=--disable-year2038
CONFIGURE_ENV= DEFAULT_RMT_COMMAND=/etc/rmt
# supply result to skip a test that will abort configure if run as root
CONFIGURE_ENV+= gl_cv_func_mknod_works=yes