science/kst2:

- NetCDF 4 is not supported yet, set INGORE if NETCDF option is requested.

PR:		194936
Reported by:	nwhitehorn
This commit is contained in:
Max Brazhnikov 2014-11-13 14:26:54 +00:00
parent 79eccdd2fe
commit b1f6dafbc4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372521

View file

@ -36,7 +36,7 @@ FITS_LIB_DEPENDS= libcfitsio.so:${PORTSDIR}/astro/cfitsio
MATLAB_DESC= Support for data in MATLAB format MATLAB_DESC= Support for data in MATLAB format
MATLAB_LIB_DEPENDS= libmatio.so:${PORTSDIR}/math/matio MATLAB_LIB_DEPENDS= libmatio.so:${PORTSDIR}/math/matio
NETCDF_DESC= Support for data in NetCDF format NETCDF_DESC= Support for data in NetCDF format (broken)
NETCDF_LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf NETCDF_LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf
TOOLKIT_DESC= Qt toolkit TOOLKIT_DESC= Qt toolkit
@ -62,6 +62,8 @@ pre-configure:
.if !${PORT_OPTIONS:MNETCDF} .if !${PORT_OPTIONS:MNETCDF}
${REINPLACE_CMD} -e '/find_package(Netcdf)/d' \ ${REINPLACE_CMD} -e '/find_package(Netcdf)/d' \
${CMAKE_SOURCE_PATH}/CMakeLists.txt ${CMAKE_SOURCE_PATH}/CMakeLists.txt
.else
IGNORE= does not support NetCDF 4
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>