From a87e98d2deba1fce91e468856f92f8b4ecded5a8 Mon Sep 17 00:00:00 2001 From: Dave Cottlehuber Date: Wed, 5 Jun 2024 20:16:02 +0000 Subject: [PATCH] lang/erlang-runtime27: on i386, build without timestamps post 2038 configure: error: could not enable timestamps after mid-January 2038. This package recommends support for these later timestamps. Correct PORTNAME suffix auto-generation to match previous name. Reported by: pkg-fallout --- lang/erlang-runtime27/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/erlang-runtime27/Makefile b/lang/erlang-runtime27/Makefile index 4e6634c7bc36..e1ef45fd46dd 100644 --- a/lang/erlang-runtime27/Makefile +++ b/lang/erlang-runtime27/Makefile @@ -2,7 +2,7 @@ PORTNAME= erlang DISTVERSIONPREFIX= OTP- DISTVERSION= 27.0 CATEGORIES= lang parallel java -PKGNAMESUFFIX= -runtime27 +PKGNAMESUFFIX= -runtime${PORTVERSION:C/\..*//} DIST_SUBDIR= erlang MAINTAINER= erlang@FreeBSD.org @@ -95,6 +95,7 @@ CFLAGS+= -DMAP_NORESERVE=0 .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 +CONFIGURE_ARGS+= --disable-year2038 .endif .if ${ARCH} == armv6 || ${ARCH} == armv7