archivers/gtar-base: Fix build on FreeBSD/i386
This commit is contained in:
parent
d6f8e8ccd6
commit
56267f1f6a
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.97 2023/08/06 07:23:07 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.98 2023/10/10 10:27:21 pho Exp $
|
||||
|
||||
.include "../../archivers/gtar/Makefile.common"
|
||||
|
||||
|
@ -31,6 +31,15 @@ CONFIGURE_ENV+= ac_cv_have_decl_strtoimax=no
|
|||
LDFLAGS.SCO_SV+= -lsocket
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == "FreeBSD"
|
||||
. for p in ${LP32PLATFORMS}
|
||||
. if !empty(MACHINE_PLATFORM:M${p})
|
||||
# Required on platforms where time_t is signed 32-bit.
|
||||
CONFIGURE_ARGS+= --disable-year2038
|
||||
. endif
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
PLIST_VARS+= rmt
|
||||
|
||||
# don't include rmt if gtar won't build it
|
||||
|
|
Loading…
Reference in New Issue