aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-09-01 12:50:41 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-09-01 12:50:41 +0000
commitda385f3d2b37901bccb5e915659e549e34cad3c6 (patch)
tree05ef35b0c2b7aa4b5e5b8044d74406b0ca83b20b /science
parentd7c32c09b955ca215da670cefea447837a48c10b (diff)
downloadports-da385f3d2b37901bccb5e915659e549e34cad3c6.tar.gz
ports-da385f3d2b37901bccb5e915659e549e34cad3c6.zip
- Move preprocessor options back to CPPFLAGS
Suggested by: danfe, sahil
Notes
Notes: svn path=/head/; revision=280962
Diffstat (limited to 'science')
-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>