Index: head/misc/vxl/Makefile =================================================================== --- head/misc/vxl/Makefile (revision 549952) +++ head/misc/vxl/Makefile (revision 549953) @@ -1,40 +1,45 @@ # $FreeBSD$ PORTNAME= vxl DISTVERSIONPREFIX= v DISTVERSION= 2.0.2-629 DISTVERSIONSUFFIX= -g9f915deec4 CATEGORIES= misc science MAINTAINER= yuri@FreeBSD.org COMMENT= C++ libraries for computer vision and image understanding LIB_DEPENDS= libpng16.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang jpeg USE_GITHUB= yes USE_LDCONFIG= yes CONFLICTS_BUILD= openjpeg15 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTING do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include -.if ${ARCH} == "amd64" || ${ARCH} == "i386" +.if ${ARCH} == "amd64" +PLIST_SUB+= X86="" +CMAKE_ON+= VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed +.elif ${ARCH} == "i386" +CFLAGS+= -msse2 # sse2 is not enabled on i386 by default as it is enabled on amd64, see https://github.com/vxl/vxl/issues/795 +CXXFLAGS+= -msse2 PLIST_SUB+= X86="" CMAKE_ON+= VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed .else PLIST_SUB+= X86="@comment " CMAKE_OFF+= VIL_CONFIG_ENABLE_SSE2_ROUNDING .endif .include Index: head/misc/vxl/pkg-descr =================================================================== --- head/misc/vxl/pkg-descr (revision 549952) +++ head/misc/vxl/pkg-descr (revision 549953) @@ -1,6 +1,6 @@ VXL (the Vision-something-Libraries) is a collection of C++ libraries designed for computer vision research and implementation. It was created from TargetJr and the IUE with the aim of making a light, fast and consistent system. VXL is written in ANSI/ISO C++ and is designed to be portable over many platforms. -WWW: https://github.com/vxl/vxl +WWW: https://vxl.github.io/