freebsd-ports/misc/libemos/Makefile
Tobias Kortkamp bba2898ed6 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
2020-07-04 11:59:43 +00:00

31 lines
768 B
Makefile

# $FreeBSD$
PORTNAME= libemos
DISTVERSION= 4.5.9
PORTREVISION= 3
DISTVERSIONSUFFIX= -Source
CATEGORIES= misc
MASTER_SITES= https://confluence.ecmwf.int/download/attachments/3473472/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Interpolation library for meteorological software
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libeccodes.so:science/eccodes \
libfftw3.so:math/fftw3 \
libpng.so:graphics/png
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
@${RM} ${STAGEDIR}${PREFIX}/bin/bufr_filter
.include <bsd.port.mk>