svn commit: r549751 - head/graphics/vv
Yuri Victorovich
yuri at FreeBSD.org
Wed Sep 23 16:54:44 UTC 2020
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 at 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>
More information about the svn-ports-all
mailing list