From owner-svn-ports-head@FreeBSD.ORG Tue Aug 27 04:22:47 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5F13AA3D; Tue, 27 Aug 2013 04:22:47 +0000 (UTC) (envelope-from maho@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4C6BF2891; Tue, 27 Aug 2013 04:22:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7R4MlfK075274; Tue, 27 Aug 2013 04:22:47 GMT (envelope-from maho@svn.freebsd.org) Received: (from maho@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7R4Mlpl075273; Tue, 27 Aug 2013 04:22:47 GMT (envelope-from maho@svn.freebsd.org) Message-Id: <201308270422.r7R4Mlpl075273@svn.freebsd.org> From: Maho Nakata Date: Tue, 27 Aug 2013 04:22:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325428 - head/cad/calculix X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 04:22:47 -0000 Author: maho Date: Tue Aug 27 04:22:46 2013 New Revision: 325428 URL: http://svnweb.freebsd.org/changeset/ports/325428 Log: Now metis-edf is selectable. Modified: head/cad/calculix/Makefile Modified: head/cad/calculix/Makefile ============================================================================== --- head/cad/calculix/Makefile Tue Aug 27 03:36:50 2013 (r325427) +++ head/cad/calculix/Makefile Tue Aug 27 04:22:46 2013 (r325428) @@ -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