git: 2c2bc2002b4f - main - math/openblas64: set proper targets for powerpc64*

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sat, 22 Feb 2025 18:18:36 UTC
The branch main has been updated by pkubaj:

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

commit 2c2bc2002b4fd26749b40085f67ea3e84dd43fdb
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-02-22 18:14:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-02-22 18:17:42 +0000

    math/openblas64: set proper targets for powerpc64*
---
 math/openblas64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/math/openblas64/Makefile b/math/openblas64/Makefile
index 3fd90f20401f..06a4932c56f8 100644
--- a/math/openblas64/Makefile
+++ b/math/openblas64/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	openblas
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.3.29
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	NL/lapack/timing/:lapack_tmg
 PKGNAMESUFFIX=	64
@@ -59,10 +60,12 @@ OPENMP_LDFLAGS=		-lomp
 .include <bsd.port.options.mk>
 
 .if ${ARCH} == powerpc64
+CMAKE_ARGS+=		-DTARGET=PPC970
 USE_GCC=		yes
 .endif
 
 .if ${ARCH} == powerpc64le
+CMAKE_ARGS+=		-DTARGET=POWER8
 USE_GCC=		yes
 .endif