aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2010-10-21 14:44:18 +0800
committersunpoet <sunpoet@FreeBSD.org>2010-10-21 14:44:18 +0800
commitd3493beb23df5e263a8081699e712e5a0eddfe59 (patch)
tree229bdd0eec1753f899c66365885df9f87b8a62b1 /science
parentf1f3914f7c3910394f0d3a1a83d963e0e35d95bb (diff)
downloadfreebsd-ports-gnome-d3493beb23df5e263a8081699e712e5a0eddfe59.tar.gz
freebsd-ports-gnome-d3493beb23df5e263a8081699e712e5a0eddfe59.tar.zst
freebsd-ports-gnome-d3493beb23df5e263a8081699e712e5a0eddfe59.zip
- Do not run cdotest on 6.x
Reported by: pointyhat Approved by: pgollucci (mentor, implicit)
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