From c65c786b33a8c78e479cddaf6118e5c97a232bce Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Fri, 2 Feb 2024 07:58:57 -0700 Subject: [PATCH] science/dirac: Broken on powerpc64, powerpc64le; Fix build on i386 Reported by: fallout --- science/dirac/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/science/dirac/Makefile b/science/dirac/Makefile index 3bc508113a4d..ba9e9416ebf9 100644 --- a/science/dirac/Makefile +++ b/science/dirac/Makefile @@ -13,8 +13,9 @@ 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= error: Type mismatch in argument 'dsetid' at (1); passed INTEGER(8) to INTEGER(4), see https://gitlab.com/dirac/dirac/-/issues/36 +BROKEN_armv7= compilation fails: Error: Old-style type declaration REAL*16 not supported at (1) +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 \ @@ -36,7 +37,7 @@ CMAKE_ARGS= -DMKL_FLAG=off CFLAGS+= -DSYS_LINUX # see https://gitlab.com/dirac/dirac/-/issues/32 CXXFLAGS+= -DSYS_LINUX -FFLAGS+= -DSYS_LINUX +FFLAGS+= -DSYS_LINUX -fallow-argument-mismatch # -fallow-argument-mismatch to fix build on i386, see https://gitlab.com/dirac/dirac/-/issues/36 LDFLAGS+= -llapack -lblas BINARY_ALIAS= make=${GMAKE} \