1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

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
This commit is contained in:
Christian Weisgerber 2023-07-20 22:40:32 +02:00
parent c98b37be60
commit 6aae9fcd85

View File

@ -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