Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2015 01:38:21 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r394668 - head/science/cdo
Message-ID:  <201508190138.t7J1cL0O044091@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Aug 19 01:38:20 2015
New Revision: 394668
URL: https://svnweb.freebsd.org/changeset/ports/394668

Log:
  - Convert to new options dependency helper

Modified:
  head/science/cdo/Makefile

Modified: head/science/cdo/Makefile
==============================================================================
--- head/science/cdo/Makefile	Wed Aug 19 01:26:39 2015	(r394667)
+++ head/science/cdo/Makefile	Wed Aug 19 01:38:20 2015	(r394668)
@@ -16,6 +16,8 @@ LICENSE=	GPLv2
 OPTIONS_DEFINE=	CGRIBEX HDF5 JASPER NETCDF PROJ SZIP UDUNITS
 OPTIONS_DEFAULT=CGRIBEX HDF5 JASPER NETCDF PROJ SZIP UDUNITS
 OPTIONS_SUB=	yes
+HDF5_IMPLIES=	SZIP
+NETCDF_IMPLIES=	HDF5
 
 PORTSCOUT=	site:https://code.zmaw.de/projects/cdo/files
 
@@ -55,16 +57,6 @@ UDUNITS_CONFIGURE_OFF=	--without-udunits
 UDUNITS_CONFIGURE_ON=	--with-udunits2=${LOCALBASE}
 UDUNITS_LIB_DEPENDS=	libudunits2.so:${PORTSDIR}/science/udunits
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MHDF5} && !${PORT_OPTIONS:MSZIP}
-IGNORE=		HDF5 option requires SZIP option
-.endif
-
-.if ${PORT_OPTIONS:MNETCDF} && !${PORT_OPTIONS:MHDF5}
-IGNORE=		NETCDF option requires HDF5 option
-.endif
-
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} != "sparc64"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508190138.t7J1cL0O044091>