diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-23 17:03:22 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-23 17:03:22 +0000 |
commit | a2cc225b1d45e9539765eb0479930e54a8bda984 (patch) | |
tree | 1aee357311a336c5fa8bd5c151bb6ee0145ebe29 /graphics/vv/Makefile | |
parent | 6de023c4e884e6ad513f4ac3ca785289f96ca392 (diff) | |
download | ports-a2cc225b1d45e9539765eb0479930e54a8bda984.tar.gz ports-a2cc225b1d45e9539765eb0479930e54a8bda984.zip |
MFH: r549040 r549751
graphics/vv: Update 1.4.0-377 -> 1.4.0-383
graphics/vv: Fix build on some systems by adding the workaround for the bug in science/InsightToolkit
Reported by: fallout
Approved by: ports-secteam (fluffy)
Notes
Notes:
svn path=/branches/2020Q3/; revision=549753
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> |