From c10b2c3a45319089c6357a34faf49c41f3bcf255 Mon Sep 17 00:00:00 2001 From: maho Date: Tue, 27 Aug 2013 04:22:46 +0000 Subject: Now metis-edf is selectable. --- cad/calculix/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'cad/calculix/Makefile') diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile index faf47fb27957..82ad6ecbf482 100644 --- a/cad/calculix/Makefile +++ b/cad/calculix/Makefile @@ -32,7 +32,6 @@ LICENSE= GPLv2 LIB_DEPENDS= arpack.1:${PORTSDIR}/math/arpack \ spooles.1:${PORTSDIR}/math/spooles \ - metis.1:${PORTSDIR}/math/metis4 \ taucs.1:${PORTSDIR}/math/taucs USE_BZIP2= yes @@ -58,6 +57,17 @@ CCX_VER= ccx_${PORTVERSION} CGX_VER= cgx_2.6 .include +.include + +OPTIONS_DEFINE= METIS METIS_EDF +OPTIONS_DEFAULT=METIS + +.if ${PORT_OPTIONS:MMETIS} +LIB_DEPENDS+= metis.1:${PORTSDIR}/math/metis4 +.endif +.if ${PORT_OPTIONS:MMETIS_EDF} +LIB_DEPENDS+= metis.1:${PORTSDIR}/math/metis-edf +.endif .if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS) WITH_ATLAS= yes -- cgit