aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
Diffstat (limited to 'science')
-rw-r--r--science/hdf/Makefile2
-rw-r--r--science/netcdf/Makefile2
-rw-r--r--science/netcdf4/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile
index 00c7fef81d20..1002a5f48cd1 100644
--- a/science/hdf/Makefile
+++ b/science/hdf/Makefile
@@ -16,6 +16,8 @@ COMMENT= Hierarchical Data Format library (from NCSA)
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+CONFLICTS= netcdf-*
+
MAN1= hdf.1 hdfunpac.1 ncdump.1 ncgen.1
MAN3= gr_chunk.3
MANCOMPRESSED= maybe
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index f9f0e1d9b3a8..0b65627a5fc9 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -17,6 +17,8 @@ COMMENT= Library for machine-independent, array-oriented data access
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CONFLICTS= hdf-4.*
+
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran"
INSTALLS_SHLIB= yes
diff --git a/science/netcdf4/Makefile b/science/netcdf4/Makefile
index f9f0e1d9b3a8..0b65627a5fc9 100644
--- a/science/netcdf4/Makefile
+++ b/science/netcdf4/Makefile
@@ -17,6 +17,8 @@ COMMENT= Library for machine-independent, array-oriented data access
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CONFLICTS= hdf-4.*
+
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-fPIC -DPIC -Df2cFortran"
INSTALLS_SHLIB= yes