*/*: Limit BROKEN statement for missing ieee_arithmetic.mod feature on powerpc64*
... to only systems where it isn't yet enabled. Reported by: pkubaj@
This commit is contained in:
parent
062cceb4bb
commit
931a26db83
2 changed files with 12 additions and 3 deletions
|
@ -11,8 +11,6 @@ LICENSE= GPLv3
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_aarch64= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
BROKEN_powerpc64= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
BROKEN_powerpc64le= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
|
||||
BUILD_DEPENDS= mstore>0:science/mstore
|
||||
LIB_DEPENDS= libmctc-lib.so:science/mctc-lib \
|
||||
|
@ -25,6 +23,12 @@ USE_LDCONFIG= yes
|
|||
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.if (${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc) && ${OSVERSION} < 1301510 # support added in e09d209d1a74a3caca95dea303db9bc605fce1a7
|
||||
BROKEN_powerpc64= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
BROKEN_powerpc64le= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
.endif
|
||||
|
||||
post-patch: # see https://github.com/toml-f/toml-f/issues/51
|
||||
@${REINPLACE_CMD} -e 's|$${CMAKE_Fortran_COMPILER_ID}-$${CMAKE_Fortran_COMPILER_VERSION}||' ${WRKSRC}/config/CMakeLists.txt
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ LICENSE= GPLv3
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_aarch64= cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
BROKEN_powerpc64= cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/tokenizer.hpp:devel/boost-libs
|
||||
LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
||||
|
@ -49,6 +48,12 @@ OCTAVE_LIB_DEPENDS= libfftw3.so:math/fftw3 \
|
|||
libumfpack.so:math/suitesparse-umfpack
|
||||
OCTAVE_RUN_DEPENDS= octave:math/octave
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.if (${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc) && ${OSVERSION} < 1301510 # support added in e09d209d1a74a3caca95dea303db9bc605fce1a7
|
||||
BROKEN_powerpc64= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
BROKEN_powerpc64le= Cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
# remove empty directories, see https://git.dynare.org/Dynare/dynare/-/issues/1835
|
||||
@${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
|
||||
|
|
Loading…
Reference in a new issue