Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 16:54:43 +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: r549751 - head/graphics/vv
Message-ID:  <202009231654.08NGshp1047587@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>



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