Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 23:47:52 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566198 - head/science/dakota
Message-ID:  <202102202347.11KNlqvR077006@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Feb 20 23:47:52 2021
New Revision: 566198
URL: https://svnweb.freebsd.org/changeset/ports/566198

Log:
  science/dakota: Add GSL option

Modified:
  head/science/dakota/Makefile
  head/science/dakota/pkg-plist

Modified: head/science/dakota/Makefile
==============================================================================
--- head/science/dakota/Makefile	Sat Feb 20 23:30:33 2021	(r566197)
+++ head/science/dakota/Makefile	Sat Feb 20 23:47:52 2021	(r566198)
@@ -2,6 +2,7 @@
 
 PORTNAME=	dakota
 DISTVERSION=	6.13.0
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	https://dakota.sandia.gov/sites/default/files/distributions/public/
 
@@ -34,6 +35,7 @@ CMAKE_ARGS=	-DDakota_VERSION_SRC:STRING=${DISTVERSION}
 FFLAGS+=	-fallow-argument-mismatch
 LDFLAGS+=	-lexecinfo
 
+CONFLICTS_BUILD=	dakota # self: picks up some bundled packages from the pre-installed dakota package and then fails to install them
 CONFLICTS_INSTALL=	openblas
 
 USES_GIT=	no
@@ -62,6 +64,13 @@ do-fetch:
 .else
 DISTNAME=	${PORTNAME}-${DISTVERSION}-release-public.src-UI
 .endif
+
+OPTIONS_DEFINE=		GSL
+OPTIONS_DEFAULT=	GSL
+
+GSL_DESC=		GSL support
+GSL_CMAKE_BOOL=		DAKOTA_HAVE_GSL HAVE_QUESO # QUESO requires GSL
+GSL_LIB_DEPENDS=	libgsl.so:math/gsl
 
 post-extract:
 	@${FIND} ${WRKSRC} -name "*.orig" -delete

Modified: head/science/dakota/pkg-plist
==============================================================================
--- head/science/dakota/pkg-plist	Sat Feb 20 23:30:33 2021	(r566197)
+++ head/science/dakota/pkg-plist	Sat Feb 20 23:47:52 2021	(r566198)
@@ -2518,6 +2518,7 @@ lib/libpebbl.so
 lib/libpecos_src.so
 lib/libpecos_util.so
 lib/libpsuade.so
+lib/libqueso.so
 lib/librol.so
 lib/librol.so.13
 lib/librol.so.13.0



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