diff --git a/science/dftd4/Makefile b/science/dftd4/Makefile index dd8a457c17ca..b2679f1da76b 100644 --- a/science/dftd4/Makefile +++ b/science/dftd4/Makefile @@ -1,31 +1,35 @@ PORTNAME= dftd4 DISTVERSIONPREFIX= v DISTVERSION= 3.4.0 CATEGORIES= science # chemistry MAINTAINER= yuri@FreeBSD.org COMMENT= Atomic-charge dependent london dispersion correction computation WWW= https://www.chemie.uni-bonn.de/pctc/mulliken-center/software/dftd4 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 \ libmulticharge.so:science/multicharge \ libopenblas.so:math/openblas USES= cmake:testing fortran USE_GITHUB= yes USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS +.include +.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 .include diff --git a/science/dynare/Makefile b/science/dynare/Makefile index 424811f230a4..2b73cb09e142 100644 --- a/science/dynare/Makefile +++ b/science/dynare/Makefile @@ -1,56 +1,61 @@ PORTNAME= dynare DISTVERSION= 5.2 PORTREVISION= 2 CATEGORIES= science # economics MASTER_SITES= https://www.dynare.org/release/source/ MAINTAINER= yuri@FreeBSD.org COMMENT= Software platform for handling a wide class of economic models WWW= https://www.dynare.org/ 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 \ libmatio.so:math/matio \ libopenblas.so:math/openblas \ libsz.so:science/libaec RUN_DEPENDS= epstool:graphics/epstool \ gnuplot:math/gnuplot \ pstoedit:graphics/pstoedit \ xfig:graphics/xfig # README says that these executables are required for the test suite USES= bison compiler:c++17-lang fortran gmake localbase tar:xz tex USE_TEX= pdftex GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-matlab \ --disable-doc FCFLAGS+= -fPIC # required because configure tests with -shared SUB_FILES= pkg-message OPTIONS_DEFINE= OCTAVE OPTIONS_DEFAULT= OCTAVE OPTIONS_SUB= yes OCTAVE_DESC= Integrate with Octave (main way to use Dynare) OCTAVE_CONFIGURE_ENABLE= octave OCTAVE_CONFIGURE_ON= --disable-mex-kalman-steady-state # Kalman Steady State MEX file for Octave - requires the non-free library slicot-5.0 OCTAVE_BUILD_DEPENDS= octave:math/octave OCTAVE_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libumfpack.so:math/suitesparse-umfpack OCTAVE_RUN_DEPENDS= octave:math/octave +.include +.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 .include