1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

science/dirac: Broken on powerpc64, powerpc64le; Fix build on i386

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2024-02-02 07:58:57 -07:00
parent ba9b7f9ecc
commit c65c786b33

View File

@ -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} \