diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-05-07 10:59:27 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-05-10 10:30:59 +0000 |
| commit | d93ae9e95f0d2f0a4612299e2c496dc0c0a3f47a (patch) | |
| tree | d29ff2fc9b43ebe153ca3dfc93ce3ae33e9b506a | |
| parent | ab36cfac773c127e13bd8e1572ef54c54bdb9834 (diff) | |
science/dirac: fix build on powerpc64* and armv7
Only tested on powerpc64le, hopefully powerpc64 and armv7 also build.
REAL*16 is not supported on those arches, but only stieltjes uses it,
so the port builds after disabling it.
| -rw-r--r-- | science/dirac/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/science/dirac/Makefile b/science/dirac/Makefile index 6d1470e467cd..fc3f8e3e0665 100644 --- a/science/dirac/Makefile +++ b/science/dirac/Makefile @@ -13,10 +13,7 @@ WWW= http://diracprogram.org/doku.php LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_armv7= compilation fails: Error: Old-style type declaration REAL*16 not supported at (1) BROKEN_i386= compilation fails: Error: Type mismatch in argument 'lu' at (1); passed INTEGER(8) to INTEGER(4) (and similar) -BROKEN_powerpc64= compilation fails: Error: Old-style type declaration REAL*16 not supported at (1) -BROKEN_powerpc64le= compilation fails: Error: Old-style type declaration REAL*16 not supported at (1) BUILD_DEPENDS= gmake:devel/gmake LIB_DEPENDS= libblas.so:math/blas \ @@ -45,6 +42,12 @@ BINARY_ALIAS= make=${GMAKE} \ python=${PYTHON_CMD} \ python3=${PYTHON_CMD} +.include <bsd.port.options.mk> + +.if ${ARCH} == armv7 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le +CMAKE_ARGS+= ENABLE_STIELTJES +.endif + # 2 tests are known to fail, see https://gitlab.com/dirac/dirac/-/issues/35 .include <bsd.port.mk> |
