Date: Wed, 21 Dec 2022 07:14:04 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 931a26db83fb - main - */*: Limit BROKEN statement for missing ieee_arithmetic.mod feature on powerpc64* Message-ID: <202212210714.2BL7E4pL094351@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=931a26db83fb0846d7d940f8412f6376e468edc9 commit 931a26db83fb0846d7d940f8412f6376e468edc9 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-12-20 23:59:46 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-12-21 07:13:58 +0000 */*: Limit BROKEN statement for missing ieee_arithmetic.mod feature on powerpc64* ... to only systems where it isn't yet enabled. Reported by: pkubaj@ --- science/dftd4/Makefile | 8 ++++++-- science/dynare/Makefile | 7 ++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/science/dftd4/Makefile b/science/dftd4/Makefile index dd8a457c17ca..b2679f1da76b 100644 --- a/science/dftd4/Makefile +++ b/science/dftd4/Makefile @@ -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 diff --git a/science/dynare/Makefile b/science/dynare/Makefile index 424811f230a4..2b73cb09e142 100644 --- a/science/dynare/Makefile +++ b/science/dynare/Makefile @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212210714.2BL7E4pL094351>