Switch from metis to metis-edf by default, so that Salome can be
installed on a machine where Code_Aster is already installed. PR: ports/146738 Approved by: maintainer
This commit is contained in:
parent
8baeafe842
commit
6cf8700f33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255089
@ -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
|
||||
|
@ -201,10 +201,15 @@ BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtXml.so:${PORTSDIR}/textproc/py-qt4
|
||||
|
||||
#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)
|
||||
BUILD_DEPENDS+= kmetis:${PORTSDIR}/math/metis
|
||||
RUN_DEPENDS+= kmetis:${PORTSDIR}/math/metis
|
||||
. else
|
||||
BUILD_DEPENDS+= kmetis:${PORTSDIR}/math/metis-edf
|
||||
RUN_DEPENDS+= kmetis:${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
|
||||
|
Loading…
Reference in New Issue
Block a user