--- graphics/opencv/Makefile (revision 520414) +++ graphics/opencv/Makefile (working copy) @@ -318,6 +318,11 @@ . endfor .endif +.include +.if ${PORT_OPTIONS:MMFX} && (${ARCH} != amd64 && ${ARCH} != i386) +IGNORE= Video support option MFX is only available on x86-based systems, please deselect it +.endif + .if !defined(OCV_JAVA) CMAKE_ARGS+= -DBUILD_JAVA:BOOL=OFF .endif