Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2024 05:51:47 GMT
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 79fe36a97834 - main - sysutils/coreutils: Fix build on i386
Message-ID:  <202402270551.41R5plfb084437@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79fe36a9783404fe0af3ff0902f645a9b2eaabbb

commit 79fe36a9783404fe0af3ff0902f645a9b2eaabbb
Author:     Martin Birgmeier <d8zNeCFG@aon.at>
AuthorDate: 2024-02-27 05:49:12 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-02-27 05:49:12 +0000

    sysutils/coreutils: Fix build on i386
    
    PR:             277277
    Approved by:    maintainer
---
 sysutils/coreutils/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 9264909a27ab..cc98dfcb555c 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -24,6 +24,9 @@ GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 # bugs.freebsd.org/160060
 CONFIGURE_ARGS=	--program-prefix=g	\
 		--program-transform-name=s/stat/nustat/
+.if ${ARCH} == i386
+CONFIGURE_ARGS+=	--disable-year2038
+.endif
 CONFIGURE_ENV=	FORCE_UNSAFE_CONFIGURE=1
 
 CONFLICTS_INSTALL=	gdu geneweb gexpr rubygem-god # bin/gdu bin/gexpr bin/god bin/gwc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402270551.41R5plfb084437>