aboutsummaryrefslogtreecommitdiff
path: root/science/cdo
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-06-27 20:03:54 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-06-27 20:03:54 +0000
commitb98ac213c169692762583153e022fcacd498874b (patch)
tree21ab9c9d9bc21be5547be12bf9239ade2ea7c07c /science/cdo
parent1b91103fe7cf4359b31c55ba87a5c9339c58e6f3 (diff)
downloadports-b98ac213c169692762583153e022fcacd498874b.tar.gz
ports-b98ac213c169692762583153e022fcacd498874b.zip
Notes
Diffstat (limited to 'science/cdo')
-rw-r--r--science/cdo/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/science/cdo/Makefile b/science/cdo/Makefile
index 22f328ea1cc8..6878f62cb8ef 100644
--- a/science/cdo/Makefile
+++ b/science/cdo/Makefile
@@ -36,6 +36,7 @@ CONFIGURE_ARGS= --disable-data \
--enable-cdi-lib \
--program-transform-name="" \
--with-zlib=/usr
+CXXFLAGS+= -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
@@ -43,8 +44,6 @@ TEST_TARGET= check
USE_CXXSTD= c++11
USE_LDCONFIG= yes
-CXXFLAGS+= "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1"
-
CGRIBEX_CONFIGURE_WITH= cgribex
CGRIBEX_LIB_DEPENDS= libcgribex.so:science/cgribex
ECCODES_CONFIGURE_WITH= eccodes