From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 19 19:10:11 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB3211065678 for ; Wed, 19 May 2010 19:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AD60B8FC18 for ; Wed, 19 May 2010 19:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4JJAAAw063211 for ; Wed, 19 May 2010 19:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4JJA9eB063204; Wed, 19 May 2010 19:10:09 GMT (envelope-from gnats) Resent-Date: Wed, 19 May 2010 19:10:09 GMT Resent-Message-Id: <201005191910.o4JJA9eB063204@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0385E1065678 for ; Wed, 19 May 2010 19:09:33 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7B58FC19 for ; Wed, 19 May 2010 19:09:30 +0000 (UTC) Received: from smtp5-g21.free.fr (localhost [127.0.0.1]) by smtp5-g21.free.fr (Postfix) with ESMTP id EC751D48079; Wed, 19 May 2010 21:09:26 +0200 (CEST) Received: from graf.pompo.net (graf.pompo.net [78.225.128.39]) by smtp5-g21.free.fr (Postfix) with ESMTP; Wed, 19 May 2010 21:09:25 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id 59D99114B4; Wed, 19 May 2010 21:09:16 +0200 (CEST) Message-Id: <20100519190916.59D99114B4@graf.pompo.net> Date: Wed, 19 May 2010 21:09:16 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Stas Timokhin Subject: ports/146738: cad/salome: depends on math/metis-edf by default. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 19:10:11 -0000 >Number: 146738 >Category: ports >Synopsis: cad/salome: depends on math/metis-edf by default. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 19 19:10:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 8.0-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Dec 5 19:27:51 CET 2009 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF090829 i386 >Description: The port cad/salome depends on math/metis by default. So, it's impossible to install Code_Aster (french/aster) on the same machine, because this ports depends on math/metis-edf, which conflicts with the regular metis. The proposed patch lets Salome depends on metis-edf by default (unless the regular metis is already installed). Thus, it becomes possible to port Salome-Meca. >How-To-Repeat: - install Salome; - try to install french/aster. >Fix: Please apply the hereunder patch: --- salome.diff begins here --- diff -urN cad/salome.orig/Makefile cad/salome/Makefile --- cad/salome.orig/Makefile 2010-05-15 17:58:34.000000000 +0200 +++ cad/salome/Makefile 2010-05-16 17:24:48.000000000 +0200 @@ -6,7 +6,7 @@ PORTNAME= salome PORTVERSION= 5.1.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= cad science MASTER_SITES= http://www.stasyan.com/devel/distfiles/ DISTNAME= src5.1.3 diff -urN cad/salome.orig/Makefile.ext cad/salome/Makefile.ext --- cad/salome.orig/Makefile.ext 2010-05-11 21:47:28.000000000 +0200 +++ cad/salome/Makefile.ext 2010-05-16 17:24:29.000000000 +0200 @@ -201,10 +201,13 @@ #Dependency from metis & scotsch .if ${SAL_MODULE} == "med" -BUILD_DEPENDS+= kmetis:${PORTSDIR}/math/metis \ - gmap:${PORTSDIR}/cad/scotch -RUN_DEPENDS+= kmetis:${PORTSDIR}/math/metis \ - gmap:${PORTSDIR}/cad/scotch +. if exists(${LOCALBASE}/bin/graphchk) +LIB_DEPENDS+= metis.1:${PORTSDIR}/math/metis +. else +LIB_DEPENDS+= metis.1:${PORTSDIR}/math/metis-edf +.endif +BUILD_DEPENDS+= gmap:${PORTSDIR}/cad/scotch +RUN_DEPENDS+= gmap:${PORTSDIR}/cad/scotch CONFIGURE_ENV+= METISDIR=${LOCALBASE} SCOTCHDIR=${LOCALBASE} CPPFLAGS+= -I${LOCALBASE}/include/metis .endif --- salome.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: