From owner-dev-commits-ports-all@freebsd.org Thu Aug 19 08:46:15 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 C1D40661364; Thu, 19 Aug 2021 08:46:15 +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 4GqyzW4vZ0z4R9c; Thu, 19 Aug 2021 08:46:15 +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 918E9224F2; Thu, 19 Aug 2021 08:46:15 +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 17J8kF8p021709; Thu, 19 Aug 2021 08:46:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17J8kF5t021708; Thu, 19 Aug 2021 08:46:15 GMT (envelope-from git) Date: Thu, 19 Aug 2021 08:46:15 GMT Message-Id: <202108190846.17J8kF5t021708@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: 78701c99c11a - main - cad/csxcad: 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: 78701c99c11a8ab41f6826bb871259b874ab553f 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:15 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=78701c99c11a8ab41f6826bb871259b874ab553f commit 78701c99c11a8ab41f6826bb871259b874ab553f Author: Yuri Victorovich AuthorDate: 2021-08-19 08:15:49 +0000 Commit: Yuri Victorovich CommitDate: 2021-08-19 08:46:10 +0000 cad/csxcad: Change to vtk8 because the app using this library doesn't support vtk9 --- cad/csxcad/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cad/csxcad/Makefile b/cad/csxcad/Makefile index a4a96f5c2c21..806fe096b694 100644 --- a/cad/csxcad/Makefile +++ b/cad/csxcad/Makefile @@ -2,6 +2,7 @@ PORTNAME= csxcad DISTVERSIONPREFIX= v DISTVERSION= 0.6.2-103 DISTVERSIONSUFFIX= -g3c4fb66 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org @@ -11,22 +12,26 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cgal>0:math/cgal +# many dependencies below are induced by vtk8, but not vtk9 LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libfparser-4.5.so:math/fparser \ libgmp.so:math/gmp \ libhdf5.so:science/hdf5 \ libmpfr.so:math/mpfr \ + libpng16.so:graphics/png \ libsz.so:science/szip \ + libtiff.so:graphics/tiff \ libtinyxml.so:textproc/tinyxml \ - libvtkCommonMath-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= ${PORTNAME:tu} -CMAKE_ARGS= -DFPARSER_ROOT_DIR=${LOCALBASE} +CMAKE_ARGS= -DFPARSER_ROOT_DIR=${LOCALBASE} \ + -DVTK_DIR=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2 .include