Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2020 18:06:33 +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: r523586 - head/science/code_saturne
Message-ID:  <202001191806.00JI6XDD043472@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Sun Jan 19 18:06:33 2020
New Revision: 523586
URL: https://svnweb.freebsd.org/changeset/ports/523586

Log:
  Remove the dependency on libomp, but note that at least openmp 8.0.0
  final release is needed.

Modified:
  head/science/code_saturne/Makefile

Modified: head/science/code_saturne/Makefile
==============================================================================
--- head/science/code_saturne/Makefile	Sun Jan 19 17:50:26 2020	(r523585)
+++ head/science/code_saturne/Makefile	Sun Jan 19 18:06:33 2020	(r523586)
@@ -4,6 +4,7 @@
 PORTNAME=	code_saturne
 PORTVERSION=	6.0.1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	science parallel
 
 MAINTAINER=	thierry@FreeBSD.org
@@ -15,7 +16,6 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libsysinfo.so:devel/libsysinfo	\
 		libcgns.so:science/cgnslib	\
 		libhdf5.so:science/hdf5		\
-		libomp.so:devel/openmp		\
 		libmedC.so:french/med
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}	\
 		xmgrace:math/grace	\
@@ -73,6 +73,11 @@ TERM?=		vt100	# Default value needed for tput in jail 
 # /libsaturne.so:
 # undefined reference to `__atomic_compare_exchange'
 CONFIGURE_ARGS+=	--disable-openmp
+.endif
+
+.if ${OPSYS} == FreeBSD && ((${OSREL:R} == 12 && ${OSVERSION} < 1200506)	\
+			|| (${OSREL:R} == 11 && ${OSVERSION} < 346296))
+BROKEN=	at least openmp 8.0.0 final release is needed
 .endif
 
 .if ${PORT_OPTIONS:MDOCS}



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