Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2024 15:43:27 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ea40ec1f1dd2 - main - math/primme: update 3.2 =?utf-8?Q?=E2=86=92?= 3.2.3
Message-ID:  <202411091543.4A9FhRdZ028105@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit ea40ec1f1dd20a5bdd92e5800480ed02e115495c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-09 09:13:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-09 15:43:12 +0000

    math/primme: update 3.2 → 3.2.3
---
 math/primme/Makefile                | 12 ++++++++----
 math/primme/distinfo                |  6 +++---
 math/primme/files/patch-Make__flags | 10 ++++++++++
 3 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/math/primme/Makefile b/math/primme/Makefile
index ab93f756c0ff..94cc5a88f3b8 100644
--- a/math/primme/Makefile
+++ b/math/primme/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	primme
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.2
-PORTREVISION=	4
+DISTVERSION=	3.2.3
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -35,8 +34,10 @@ NETLIB_USES=		blaslapack:netlib
 NETLIB_LDFLAGS=		-lblas # XXX why this isn't covered by blaslapack:netlib?
 OPENBLAS_USES=		blaslapack:openblas
 
-TEST_ENV=	${MAKE_ENV} LDFLAGS="-lm -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} ${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so" \
-		USE_MPI=no USE_PETSC=no PETSC_DIR=${LOCALBASE}
+TEST_ENV=	${MAKE_ENV} \
+		LDFLAGS="-lm -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} ${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so" \
+		USE_MPI=no USE_PETSC=no PETSC_DIR=${LOCALBASE} \
+		LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib
 TEST_ARGS=	F77=gfortran${GCC_DEFAULT} FC=gfortran${GCC_DEFAULT} FLDR=gfortran${GCC_DEFAULT}
 TEST_TARGET=	all_tests test
 
@@ -53,4 +54,7 @@ PLIST_FILES=	include/primme.h \
 		lib/libprimme.so.3 \
 		lib/libprimme.so.3.2
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprimme.so.3.2
+
 .include <bsd.port.mk>
diff --git a/math/primme/distinfo b/math/primme/distinfo
index 1a83d7d57247..705e13260974 100644
--- a/math/primme/distinfo
+++ b/math/primme/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612122323
-SHA256 (primme-primme-v3.2_GH0.tar.gz) = 8ff242a356cea465c9728a26cb6e0487712d9ae51050a362de487e3b13a2fe9b
-SIZE (primme-primme-v3.2_GH0.tar.gz) = 17447176
+TIMESTAMP = 1731138979
+SHA256 (primme-primme-v3.2.3_GH0.tar.gz) = 272fc4952ef9958b79a12de098384ff88995b7bcb1082958cd37aab05773a8a4
+SIZE (primme-primme-v3.2.3_GH0.tar.gz) = 14434625
diff --git a/math/primme/files/patch-Make__flags b/math/primme/files/patch-Make__flags
new file mode 100644
index 000000000000..62310de6ff5b
--- /dev/null
+++ b/math/primme/files/patch-Make__flags
@@ -0,0 +1,10 @@
+--- Make_flags.orig	2024-11-09 08:05:56 UTC
++++ Make_flags
+@@ -32,6 +32,7 @@ FFLAGS   ?= -fno-second-underscore -O
+ DEFINES  ?= -DF77UNDERSCORE 
+ CFLAGS   ?= -O -fPIC -DNDEBUG
+ FFLAGS   ?= -fno-second-underscore -O
++FFLAGS   += -fallow-argument-mismatch
+ PRIMME_WITH_HALF ?= no
+ ifeq ($(PRIMME_WITH_HALF), yes)
+     CFLAGS += -DPRIMME_WITH_HALF



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411091543.4A9FhRdZ028105>