git: 3cd9472f3674 - main - math/metis: fix int64 support

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Tue, 06 May 2025 16:07:52 UTC
The branch main has been updated by thierry:

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

commit 3cd9472f36746976fcec92e1a1e89dde491720fb
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-05-06 11:42:29 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-05-06 16:07:47 +0000

    math/metis: fix int64 support
---
 math/metis/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/math/metis/Makefile b/math/metis/Makefile
index 9c78855023ff..86fbd1d7935c 100644
--- a/math/metis/Makefile
+++ b/math/metis/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	metis
 DISTVERSION=	5.1.0-p13
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	math
 MASTER_SITES=	https://bitbucket.org/petsc/pkg-metis/get/
@@ -54,7 +55,7 @@ CFLAGS+=	-fpic
 .include <bsd.port.options.mk>
 
 .if ${ARCH:M*64*}
-CFLAGS+=	-DMETIS_USE_LONGINDEX
+CMAKE_ARGS+=	-DMETIS_USE_LONGINDEX:BOOL="On"
 .endif
 
 pre-configure: