aboutsummaryrefslogtreecommitdiff
path: root/science/netcdf
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-12 15:17:09 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-12 15:17:09 +0000
commitb5fae9520930489365b7dd9154ac75ef946e1459 (patch)
treeeb1ec57b0b4369c415b26cd3ea2b3c5389f0c87d /science/netcdf
parent042f7a485d088016f44e3cf2bb579894f9e16b11 (diff)
downloadports-b5fae9520930489365b7dd9154ac75ef946e1459.tar.gz
ports-b5fae9520930489365b7dd9154ac75ef946e1459.zip
Notes
Diffstat (limited to 'science/netcdf')
-rw-r--r--science/netcdf/Makefile8
-rw-r--r--science/netcdf/distinfo1
2 files changed, 4 insertions, 5 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index e558ce8bd04c..b3cf850f4c33 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -20,7 +20,7 @@ CONFLICTS= hdf-4.* netcdf-4.*
PORTSCOUT= limit:^3\.
CONFIGURE_ARGS= --enable-shared
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC"
+CPPFLAGS+= -I${LOCALBASE}/include -fPIC -DPIC
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -37,10 +37,10 @@ CONFIGURE_ARGS+=--enable-docs-install
CONFIGURE_ARGS+=--disable-docs-install
.endif
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITH_FORTRAN)
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -DpgiFortran"
+CPPFLAGS+= -DpgiFortran
CONFLICTS+= netcdf-3.*
MAN3+= netcdf_f77.3 netcdf_f90.3
PKGNAMESUFFIX+= -ftn
@@ -67,4 +67,4 @@ post-patch:
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/science/netcdf/distinfo b/science/netcdf/distinfo
index effcfec85197..cca29d29a70f 100644
--- a/science/netcdf/distinfo
+++ b/science/netcdf/distinfo
@@ -1,3 +1,2 @@
-MD5 (netcdf-3.6.3.tar.gz) = 334e9bdc010b6cd03fd6531a45fe50ad
SHA256 (netcdf-3.6.3.tar.gz) = afa1a0fa82b9ea33b035257b6e9662b22e135f98b2fd93d5cf030320dfc3ffa1
SIZE (netcdf-3.6.3.tar.gz) = 11572512