From owner-dev-commits-ports-all@freebsd.org Thu Aug 19 08:46:17 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0851D66149B; Thu, 19 Aug 2021 08:46:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GqyzX6BLQz4RGX; Thu, 19 Aug 2021 08:46:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9E8722744; Thu, 19 Aug 2021 08:46:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17J8kGEI021738; Thu, 19 Aug 2021 08:46:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17J8kGYk021736; Thu, 19 Aug 2021 08:46:16 GMT (envelope-from git) Date: Thu, 19 Aug 2021 08:46:16 GMT Message-Id: <202108190846.17J8kGYk021736@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: fadadd92e69d - main - science/openems: Change to vtk8 because the app using this library doesn't support vtk9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fadadd92e69dc54d23bc41f1386d40967b1372a9 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 08:46:17 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=fadadd92e69dc54d23bc41f1386d40967b1372a9 commit fadadd92e69dc54d23bc41f1386d40967b1372a9 Author: Yuri Victorovich AuthorDate: 2021-08-19 08:21:21 +0000 Commit: Yuri Victorovich CommitDate: 2021-08-19 08:46:11 +0000 science/openems: Change to vtk8 because the app using this library doesn't support vtk9 --- science/openems/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/science/openems/Makefile b/science/openems/Makefile index 083f233dcd3d..2893f6fee19a 100644 --- a/science/openems/Makefile +++ b/science/openems/Makefile @@ -2,6 +2,7 @@ PORTNAME= openems DISTVERSIONPREFIX= v DISTVERSION= 0.0.35-71 DISTVERSIONSUFFIX= -g4c24b6e +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -10,21 +11,27 @@ COMMENT= Electromagnetic field solver using the EC-FDTD method LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +# many dependencies below are induced by vtk8, but not vtk9 LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libCSXCAD.so:cad/csxcad \ + libexpat.so:textproc/expat2 \ libfparser-4.5.so:math/fparser \ libhdf5.so:science/hdf5 \ + libpng16.so:graphics/png \ libsz.so:science/szip \ + libtiff.so:graphics/tiff \ libtinyxml.so:textproc/tinyxml \ - libvtkCommonCore-9.0.so:math/vtk9 + libvtkCommonCore-8.2.so:math/vtk8 # some related packages don't support vtk9 yet, see https://github.com/thliebig/QCSXCAD/issues/6#issuecomment-901633240 -USES= cmake pkgconfig +USES= cmake jpeg pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= thliebig GH_PROJECT= openEMS +CMAKE_ARGS= -DVTK_DIR=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2 + CXXFLAGS+= -I${LOCALBASE}/include/fparser # fparser.pc probably returns a wrong value DATADIR= ${PREFIX}/share/openEMS