1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Add USE_CSTD=c99 to fix build with base GCC, which uses c89 by default.

While here, pet portlint.

PR:		234404
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-12-26 12:32:56 +00:00
parent 1d26780b65
commit 88780dc127
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488381

View File

@ -28,8 +28,9 @@ PORTSCOUT= site:https://software.ecmwf.int/wiki/display/ECC/Releases
CMAKE_ARGS= -DBUILD_SHARED_LIBS=BOTH
CMAKE_OFF= ENABLE_ECCODES_OMP_THREADS ENABLE_FORTRAN ENABLE_MEMFS ENABLE_PYTHON
CMAKE_ON= ENABLE_ECCODES_THREADS ENABLE_NETCDF ENABLE_PNG
USE_LDCONFIG= yes
USES= cmake shebangfix
USE_CSTD= c99
USE_LDCONFIG= yes
SHEBANG_FILES= tools/bufr_compare_dir