git: edd0e13e7366 - main - devel/ocaml-calendar: update to 2.04, fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 17 Jan 2025 21:47:07 UTC
The branch main has been updated by pkubaj:

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

commit edd0e13e73667f04b36b0e9a658f0095b5686da5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 13:27:08 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:28 +0000

    devel/ocaml-calendar: update to 2.04, fix build on powerpc
---
 devel/ocaml-calendar/Makefile | 11 ++++++++---
 devel/ocaml-calendar/distinfo |  5 +++--
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/devel/ocaml-calendar/Makefile b/devel/ocaml-calendar/Makefile
index dee63eb0f257..62c0f144e268 100644
--- a/devel/ocaml-calendar/Makefile
+++ b/devel/ocaml-calendar/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	calendar
-PORTVERSION=	2.03.2
-PORTREVISION=	3
+PORTVERSION=	2.04
 CATEGORIES=	devel
-MASTER_SITES=	http://forge.ocamlcore.org/frs/download.php/915/
+MASTER_SITES=	https://download.ocamlcore.org/calendar/calendar/${PORTVERSION}/
 PKGNAMEPREFIX=	ocaml-
 
 MAINTAINER=	ports@FreeBSD.org
@@ -15,4 +14,10 @@ USES=		gmake ocaml:findplist
 
 GNU_CONFIGURE=	yes
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 .include <bsd.port.mk>
diff --git a/devel/ocaml-calendar/distinfo b/devel/ocaml-calendar/distinfo
index 249b054ddbf3..daa61bf0d4ce 100644
--- a/devel/ocaml-calendar/distinfo
+++ b/devel/ocaml-calendar/distinfo
@@ -1,2 +1,3 @@
-SHA256 (calendar-2.03.2.tar.gz) = 0e381faaa3bba522cbac705a7f872e6ecfa15220671f4688d1e311631687fb12
-SIZE (calendar-2.03.2.tar.gz) = 270225
+TIMESTAMP = 1737033721
+SHA256 (calendar-2.04.tar.gz) = bea6faa0337a1c54b0f3c2b9b45c9eb90e2b2747406e6f0b841e1fd20fd4d9f7
+SIZE (calendar-2.04.tar.gz) = 271522