aboutsummaryrefslogtreecommitdiff
path: root/science/cdo
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2010-10-21 06:44:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2010-10-21 06:44:18 +0000
commita76dc28f6f057b77e449d7f91a30a8b2a6a01633 (patch)
treef5d65c205b2fc5aae10010e40ee5d0179a9360cf /science/cdo
parentb716741f8181e8c136b64a3f4961203b3de0b5fa (diff)
downloadports-a76dc28f6f057b77e449d7f91a30a8b2a6a01633.tar.gz
ports-a76dc28f6f057b77e449d7f91a30a8b2a6a01633.zip
Notes
Diffstat (limited to 'science/cdo')
-rw-r--r--science/cdo/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/science/cdo/Makefile b/science/cdo/Makefile
index 8a33e7a08f9b..fcf8aec1c3c9 100644
--- a/science/cdo/Makefile
+++ b/science/cdo/Makefile
@@ -35,7 +35,7 @@ OPTIONS= HDF5 "HDF5 support" on \
.include <bsd.port.pre.mk>
-.if (${OSVERSION} > 700000) || (${ARCH} != "sparc64")
+.if (${OSVERSION} >= 700000) || (${ARCH} != "sparc64")
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -DPTHREAD_MUTEXATTR_CONDATTR"
.endif
@@ -87,7 +87,7 @@ LIB_DEPENDS+= sz.2:${PORTSDIR}/science/szip
.endif
post-build:
-.if !defined(WITHOUT_NETCDF)
+.if !defined(WITHOUT_NETCDF) && (${OSVERSION} >= 700000)
@cd "${WRKSRC}/src" && ${SETENV} CDO_PATH="${WRKSRC}/src/cdo" "${WRKSRC}/src/cdotest"
.endif