Date: Sun, 27 Nov 2022 05:49:24 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: 610b2e2dfd45 - main - science/spglib: Correct workaround for missing -lomp for fortran Message-ID: <202211270549.2AR5nOSw045165@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=610b2e2dfd458d17faa81f319317a27ca2800eac commit 610b2e2dfd458d17faa81f319317a27ca2800eac Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-11-27 05:42:31 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-11-27 05:49:19 +0000 science/spglib: Correct workaround for missing -lomp for fortran Reported by: fallout --- science/spglib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/science/spglib/Makefile b/science/spglib/Makefile index a4f8a8aadddf..9867ed6b8a05 100644 --- a/science/spglib/Makefile +++ b/science/spglib/Makefile @@ -16,6 +16,8 @@ USE_LDCONFIG= yes .if !exists(/usr/include/omp.h) CMAKE_OFF+= USE_OMP +.else +FORTRAN_LDFLAGS= -lomp # workaround for: undefined reference to `__kmpc_fork_call' .endif OPTIONS_DEFINE= FORTRAN @@ -24,7 +26,6 @@ OPTIONS_SUB= yes FORTRAN_USES= fortran FORTRAN_CMAKE_BOOL= WITH_Fortran -FORTRAN_LDFLAGS= -lomp # workaround for: undefined reference to `__kmpc_fork_call' do-test: # from test/README.md cd ${WRKSRC}/test && \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211270549.2AR5nOSw045165>