aboutsummaryrefslogtreecommitdiff
path: root/graphics/opendx
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-04-24 16:41:03 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-04-24 16:41:03 +0000
commit8d8e44075327dee4d70edb7c31a58726cd0dffa2 (patch)
treea38f589dd4e493166f086b116420fba040e4867e /graphics/opendx
parenta22470934ab848de7cca1b067ceba9a9150568d1 (diff)
downloadports-8d8e44075327dee4d70edb7c31a58726cd0dffa2.tar.gz
ports-8d8e44075327dee4d70edb7c31a58726cd0dffa2.zip
Notes
Diffstat (limited to 'graphics/opendx')
-rw-r--r--graphics/opendx/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index 6cd10dd7ec9d..206746172792 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -35,17 +35,17 @@ NO_MTREE= yes
PLIST_SUB= ARCH=${OPSYS:L}
PKGMESSAGE= ${WRKDIR}/pkg-message
-.if !defined(WITHOUT_HDF) && defined(WITH_NETCDF)
+.if defined(WITH_HDF) && !defined(WITHOUT_NETCDF)
BROKEN= HDF and NETCDF are conflicting
.endif
-.if !defined(WITHOUT_HDF)
+.if defined(WITH_HDF)
LIB_DEPENDS+= mfhdf.2:${PORTSDIR}/science/hdf
.else
CONFIGURE_ARGS+= --without-hdf
.endif
-.if defined(WITH_NETCDF)
+.if !defined(WITHOUT_NETCDF)
LIB_DEPENDS+= netcdf.1:${PORTSDIR}/science/netcdf
.else
CONFIGURE_ARGS+= --without-netcdf