git: af2a67dd0c1c - main - science/pastix: fix build by linking with libm

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Wed, 08 Nov 2023 21:35:33 UTC
The branch main has been updated by thierry:

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

commit af2a67dd0c1c7a4ff28f9cb31125950f018b13c1
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-11-08 21:33:37 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-11-08 21:33:37 +0000

    science/pastix: fix build by linking with libm
    
    For some reason it is now necessary to link with libm.
---
 science/pastix/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/pastix/Makefile b/science/pastix/Makefile
index 077bc8f85718..2b1935197e7c 100644
--- a/science/pastix/Makefile
+++ b/science/pastix/Makefile
@@ -31,6 +31,7 @@ USES=		cmake blaslapack:openblas fortran pkgconfig python
 #GL_SUBDIR=	spm:s cmake_modules/morse_cmake:m
 GL_TAG=		87c0b910dce3d81667e760c720e706d1	# tarball with submodules
 
+LDFLAGS+=	-lm
 CMAKE_ARGS=	-DBUILD_SHARED_LIBS:BOOL=ON	\
 		-DPASTIX_ORDERING_METIS:BOOL=ON
 USE_LDCONFIG=	yes