diff options
Diffstat (limited to 'graphics/vv/Makefile')
-rw-r--r-- | graphics/vv/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/graphics/vv/Makefile b/graphics/vv/Makefile index 1d329cea4202..44f38b03d5f5 100644 --- a/graphics/vv/Makefile +++ b/graphics/vv/Makefile @@ -2,9 +2,9 @@ PORTNAME= vv DISTVERSIONPREFIX= v -DISTVERSION= 1.4.0-377 -DISTVERSIONSUFFIX= -g7c3a1ed4 -PORTREVISION= 3 +DISTVERSION= 1.4.0-383 +DISTVERSIONSUFFIX= -g7a783a8b +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org @@ -35,7 +35,13 @@ CMAKE_ARGS= -DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2 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> |