git: 65eb0e67e031 - main - science/ukrmol+: Add FFLAGS=-fdefault-integer-8 to fix tests; Remove WITH_GSL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Aug 2022 08:40:56 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=65eb0e67e031f0c1ae801de5119f9b0d44c7a778
commit 65eb0e67e031f0c1ae801de5119f9b0d44c7a778
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-03 08:39:17 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-03 08:40:50 +0000
science/ukrmol+: Add FFLAGS=-fdefault-integer-8 to fix tests; Remove WITH_GSL
Lack of FFLAGS=-fdefault-integer-8 caused one test to fail.
WITH_GSL is only for developers, not for production build.
---
science/ukrmol+/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/science/ukrmol+/Makefile b/science/ukrmol+/Makefile
index 7f53e805c452..ca7ccd92f300 100644
--- a/science/ukrmol+/Makefile
+++ b/science/ukrmol+/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ukrmol+
DISTVERSION= 3.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science # chemistry, physics
MASTER_SITES= https://zenodo.org/record/5799134/files/:out \
https://zenodo.org/record/5799110/files/:in # the project is a sum of two projects, "in" and "out"
@@ -16,19 +16,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= fails to build: Cannot open module file 'ieee_arithmetic.mod' for reading
LIB_DEPENDS= libGBTO.so:science/gbtolib \
- libgsl.so:math/gsl \
libopenblas.so:math/openblas
USES= cmake:testing fortran python:test
-CMAKE_ON= BUILD_SHARED_LIBS WITH_GSL
+CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= WITH_MPI BUILD_DOC WITH_GIT BUILD_TESTING
CMAKE_TESTING_ON= BUILD_TESTING
CMAKE_ARGS= -DFREEBSD_DOCSDIR=${DOCSDIR} \
-DFREEBSD_PYTHON_VER=${PYTHON_VER}
CMAKE_ARGS+= -DUKRMOL_OUT_DIR=${WRKSRC_OUT} # the "out" project is built and installed from the "in" project
-FFLAGS+= -I${LOCALBASE}/include/gbtolib
+FFLAGS+= -I${LOCALBASE}/include/gbtolib \
+ -fdefault-integer-8
LDFLAGS+= -lGBTO
WRKSRC_OUT= ${WRKDIR}/ukrmol-out-${PORTVERSION}