[MacPorts] #51624: OpenCV fails to build with +contrib +python27 options