Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2017 20:55:27 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454339 - in head/science/ecs: . files
Message-ID:  <201711162055.vAGKtRva006521@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Thu Nov 16 20:55:27 2017
New Revision: 454339
URL: https://svnweb.freebsd.org/changeset/ports/454339

Log:
  Chase metis-edf's upgrade.

Added:
  head/science/ecs/files/patch-configure   (contents, props changed)
Modified:
  head/science/ecs/Makefile

Modified: head/science/ecs/Makefile
==============================================================================
--- head/science/ecs/Makefile	Thu Nov 16 20:30:44 2017	(r454338)
+++ head/science/ecs/Makefile	Thu Nov 16 20:55:27 2017	(r454339)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ecs
 PORTVERSION=	2.0.4
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	science
 MASTER_SITES=	http://code-saturne.org/releases/
 
@@ -55,12 +55,12 @@ MAKE_JOBS_UNSAFE=yes
 
 .include <bsd.port.pre.mk>
 
-.if exists(${LOCALBASE}/bin/graphchk)
+.if exists(${LOCALBASE}/bin/kmetis)
 # The regular metis is present, so we cannot depend on metis-edf
 LIB_DEPENDS+=	libmetis.so.1:math/metis4
 .else
 # Prefer metis-edf to avoid conflict with Code_Aster
-LIB_DEPENDS+=	libmetis.so.0:math/metis-edf
+LIB_DEPENDS+=	libmetis.so.2:math/metis-edf
 .endif
 
 pre-configure:

Added: head/science/ecs/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/ecs/files/patch-configure	Thu Nov 16 20:55:27 2017	(r454339)
@@ -0,0 +1,11 @@
+--- configure.orig	2015-05-05 08:41:58 UTC
++++ configure
+@@ -12415,7 +12415,7 @@ have_scotch_header=no
+ have_scotch=no
+ 
+ # Common library dependencies for SCOTCH
+-ecs_scotch_l0="-lm"
++ecs_scotch_l0="-lm $PTHREAD_LIBS"
+ ecs_scotch_l1="-lz -lm"
+ ecs_scotch_l2="-lm -lpthread"
+ ecs_scotch_l3="-lz -lm -lpthread"



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