summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/cdo/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/science/cdo/Makefile b/science/cdo/Makefile
index dca309464a05..f5d9ff592817 100644
--- a/science/cdo/Makefile
+++ b/science/cdo/Makefile
@@ -20,7 +20,8 @@ OPTIONS= HDF5 "HDF5 support" on \
PROJ "PROJ support" on \
SZIP "SZIP support" on
-CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+CFLAGS+= ${PTHREAD_CFLAGS}
+CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-cdi-lib --program-transform-name="" --with-zlib=/usr
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
GNU_CONFIGURE= yes
@@ -28,8 +29,8 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
USE_GNOME= gnomehack
USE_LDCONFIG= yes
-NETCDF_VER?= 4
HDF5_VER?= 18
+NETCDF_VER?= 4
.include <bsd.port.options.mk>