pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/gtar-base



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Oct 10 10:27:21 UTC 2023

Modified Files:
        pkgsrc/archivers/gtar-base: Makefile

Log Message:
archivers/gtar-base: Fix build on FreeBSD/i386


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 pkgsrc/archivers/gtar-base/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/gtar-base/Makefile
diff -u pkgsrc/archivers/gtar-base/Makefile:1.97 pkgsrc/archivers/gtar-base/Makefile:1.98
--- pkgsrc/archivers/gtar-base/Makefile:1.97    Sun Aug  6 07:23:07 2023
+++ pkgsrc/archivers/gtar-base/Makefile Tue Oct 10 10:27:21 2023
@@ -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_strtoim
 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



Home | Main Index | Thread Index | Old Index