freebsd-ports/graphics/alizams/Makefile
Yuri Victorovich 40698670f3 graphics/alizams: Disable SIMD for i386
SIMD isn't properly enabled in the project on i386 and build breaks.
2022-11-28 08:22:26 -08:00

37 lines
1.0 KiB
Makefile

PORTNAME= alizams
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.3-34
DISTVERSIONSUFFIX= -ge36859b
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
COMMENT= DICOM Viewer
WWW= https://github.com/AlizaMedicalImaging/AlizaMS
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= compilation fails: use of undeclared identifier '_mm_cvtsd_si64', see https://github.com/InsightSoftwareConsortium/ITK/issues/3771
LIB_DEPENDS= libITKCommon-${ITK_VER}.so:science/InsightToolkit
TEST_DEPENDS= googletest>0:devel/googletest
USES= cmake:testing desktop-file-utils eigen:3 qt:5 gl
USE_QT= core gui printsupport sql svg widgets
USE_GL= gl opengl
USE_GITHUB= yes
GH_ACCOUNT= AlizaMedicalImaging
GH_PROJECT= AlizaMS
CMAKE_ARGS= -DALIZA_QT_VERSION=5
.include <bsd.port.options.mk>
.if ${ARCH} != amd64
CXXFLAGS+= -DDISABLE_SIMDMATH # i386 also needs disabling SIND, see https://github.com/InsightSoftwareConsortium/ITK/issues/3771#issuecomment-1328839390
.endif
.include <../../science/InsightToolkit/Makefile.version>
.include <bsd.port.mk>