summaryrefslogtreecommitdiff
path: root/science
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
parent- forced commit, no changes, try to help QAT (diff)
- Do not run cdotest on 6.x
Reported by: pointyhat Approved by: pgollucci (mentor, implicit)
Notes
Notes: svn path=/head/; revision=263385
Diffstat (limited to 'science')
-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