From owner-svn-ports-head@freebsd.org Wed Sep 23 16:54:43 2020 Return-Path: Delivered-To: svn-ports-head@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 E51BB3FEDA2; Wed, 23 Sep 2020 16:54:43 +0000 (UTC) (envelope-from yuri@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxPRR5py6z3bpr; Wed, 23 Sep 2020 16:54:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ABA2B1396E; Wed, 23 Sep 2020 16:54:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08NGshw1047588; Wed, 23 Sep 2020 16:54:43 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08NGshp1047587; Wed, 23 Sep 2020 16:54:43 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202009231654.08NGshp1047587@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 23 Sep 2020 16:54:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549751 - head/graphics/vv X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/graphics/vv X-SVN-Commit-Revision: 549751 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 16:54:44 -0000 Author: yuri Date: Wed Sep 23 16:54:43 2020 New Revision: 549751 URL: https://svnweb.freebsd.org/changeset/ports/549751 Log: graphics/vv: Fix build on some systems by adding the workaround for the bug in science/InsightToolkit Reported by: fallout MFH: 2020Q3 Modified: head/graphics/vv/Makefile Modified: head/graphics/vv/Makefile ============================================================================== --- head/graphics/vv/Makefile Wed Sep 23 16:50:04 2020 (r549750) +++ head/graphics/vv/Makefile Wed Sep 23 16:54:43 2020 (r549751) @@ -4,6 +4,7 @@ PORTNAME= vv DISTVERSIONPREFIX= v DISTVERSION= 1.4.0-383 DISTVERSIONSUFFIX= -g7a783a8b +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org @@ -34,7 +35,13 @@ CMAKE_ARGS= -DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-8.2/cm PLIST_FILES= bin/vv +.include + +.if ${ARCH} == i386A || ${ARCH} == amd64 +CXXFLAGS+= -msse2 # workaround for https://github.com/open-vv/vv/issues/83 & https://github.com/InsightSoftwareConsortium/ITK/issues/2011 +.endif + post-configure: # workaround for "error: unable to find library -lGTest::GTest", see https://github.com/open-vv/vv/issues/74 @${REINPLACE_CMD} -E 's/ -lGTest::(GTest|Main) / /g' ${BUILD_WRKSRC}/build.ninja -.include +.include