Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2023 21:35:33 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: af2a67dd0c1c - main - science/pastix: fix build by linking with libm
Message-ID:  <202311082135.3A8LZX7W062800@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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