diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-04-12 23:17:09 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-04-12 23:17:09 +0800 |
commit | a29914cac7259fc5b2d909eb9c59766520aaafc6 (patch) | |
tree | f24ed3aad71c5ef98410d177d2c0ad35451cbf18 | |
parent | 2c0a7fcbaee7d0c4fb08c2ee0b7dea2238203938 (diff) | |
download | freebsd-ports-gnome-a29914cac7259fc5b2d909eb9c59766520aaafc6.tar.gz freebsd-ports-gnome-a29914cac7259fc5b2d909eb9c59766520aaafc6.tar.zst freebsd-ports-gnome-a29914cac7259fc5b2d909eb9c59766520aaafc6.zip |
- Use bsd.port.options.mk
- CPPFLAGS is now added to CONFIGURE_ENV by Mk/bsd.port.Mk
- Remove obsolete MD5 checksum
-rw-r--r-- | science/netcdf/Makefile | 8 | ||||
-rw-r--r-- | science/netcdf/distinfo | 1 |
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 |