aboutsummaryrefslogtreecommitdiff
path: root/misc/libemos/Makefile
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2020-07-04 11:59:43 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2020-07-04 11:59:43 +0000
commitbba2898ed62da5bc10c42fe6f8a43f42333cf6e9 (patch)
tree5e50d89ee5804e2a71976d4dc1a6e8f5aed2e787 /misc/libemos/Makefile
parentff1c0ac5507758398c606eda409a3ff21d1ef2d0 (diff)
downloadports-bba2898ed62da5bc10c42fe6f8a43f42333cf6e9.tar.gz
ports-bba2898ed62da5bc10c42fe6f8a43f42333cf6e9.zip
misc/libemos: Unbreak build with GCC 10
/wrkdirs/usr/ports/misc/libemos/work/libemos-4.5.9-Source/interpolation/hntfaps.F:222:65: 183 | CALL INTLOG(JP_DEBUG,'HNTFAPS: Use missing value',JPQUIET) | 2 ...... 222 | CALL INTLOG(JP_ERROR,'HNTFAPS: memory allocation fail',IDWORK) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/INTEGER(4)). /wrkdirs/usr/ports/misc/libemos/work/libemos-4.5.9-Source/interpolation/hntfaps.F:232:65: 183 | CALL INTLOG(JP_DEBUG,'HNTFAPS: Use missing value',JPQUIET) | 2 ...... 232 | CALL INTLOG(JP_ERROR,'HNTFAPS: memory allocation fail',IDATA) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/INTEGER(4)). http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/libemos-4.5.9_3.log PR: 246700
Notes
Notes: svn path=/head/; revision=541200
Diffstat (limited to 'misc/libemos/Makefile')
-rw-r--r--misc/libemos/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/libemos/Makefile b/misc/libemos/Makefile
index d81713d70b99..34e850ef948c 100644
--- a/misc/libemos/Makefile
+++ b/misc/libemos/Makefile
@@ -22,6 +22,7 @@ USES= cmake:noninja compiler:c11 fortran
CMAKE_ON= BUILD_SHARED_LIBS # not respected: https://jira.ecmwf.int/browse/SUP-2691
CMAKE_OFF= HAVE_TESTS
+FFLAGS+= -std=legacy
LDFLAGS+= -leccodes
post-stage: # installs the file from eccodes: https://jira.ecmwf.int/browse/SUP-2693