git: 81e7ef04a48c - main - sysutils/flock: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Dec 2025 10:55:20 UTC
The branch main has been updated by garga:
URL: https://cgit.FreeBSD.org/ports/commit/?id=81e7ef04a48c7cffe126ce298f05bc01d6592be5
commit 81e7ef04a48c7cffe126ce298f05bc01d6592be5
Author: Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2025-12-23 10:29:19 +0000
Commit: Renato Botelho <garga@FreeBSD.org>
CommitDate: 2025-12-23 10:54:45 +0000
sysutils/flock: Fix build on i386
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sysutils/flock/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/sysutils/flock/Makefile b/sysutils/flock/Makefile
index 9497e5e74ae7..7994134fd3ba 100644
--- a/sysutils/flock/Makefile
+++ b/sysutils/flock/Makefile
@@ -21,6 +21,12 @@ CFLAGS+= -D_WITH_CPU_SET_T
PLIST_FILES= bin/flock share/man/man1/flock.1.gz \
etc/bash_completion.d/flock
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == i386
+CONFIGURE_ARGS+= --disable-year2038
+.endif
+
do-build:
# skip building unneeded utils
${MAKE} -C ${WRKSRC} flock