From 56db852da4f98f91083cce75e79219c2d0b8db3d Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 24 Mar 2004 18:55:25 +0000 Subject: [PATCH] - Add CONFLICTS between math/netcdf and science/hdf, they both install same binaries. PR: ports/64646, ports/64647 Submitted by: Kay Lehmann --- math/netcdf/Makefile | 2 ++ science/hdf/Makefile | 2 ++ science/netcdf/Makefile | 2 ++ science/netcdf4/Makefile | 2 ++ 4 files changed, 8 insertions(+) diff --git a/math/netcdf/Makefile b/math/netcdf/Makefile index f9f0e1d9b3a8..0b65627a5fc9 100644 --- a/math/netcdf/Makefile +++ b/math/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/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