if test "x$WANT_STATIC_BUILD" = "xno"; then
SHARED_openexr="$LIBS"
SHARED_LIBS+=" $LIBS"
- CFG_CFLAGS+=" -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR"
+ CFG_CFLAGS+=" -I/usr/local/include/Imath -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR"
CFG_CFLAGS+=" $(pkg-config --cflags OpenEXR)"
CFG_CFLAGS+=" $(pkg-config --cflags Imath)"
fi
if test [ "$(uname)"] = "NetBSD" ; then
echo "CFLAGS += -DNO_BTRACE"
echo "CFLAGS += -DNO_CTX"
-echo "system_libs += -L/usr/pkg/lib/ffmpeg4"
+echo "system_libs += -L/usr/pkg/lib/ffmpeg6"
echo "system_libs += -L/usr/pkg/lib/"
echo "system_libs += -lpng16"
echo "system_libs += -lintl"
echo "system_libs += -lossaudio"
echo "CFLAGS += -I/usr/X11R7/include"
-echo "CFLAGS += -I/usr/pkg/include/ffmpeg4"
+echo "CFLAGS += -I/usr/pkg/include/ffmpeg6"
echo "CFLAGS += $(pkg-config --cflags xft)"
echo "CFLAGS += -I/usr/pkg/include"
echo "CFLAGS += -I/usr/pkg/include/uuid"
-DBUILD_TESTS=OFF \
-DBUILD_opencv_apps=OFF \
-DBUILD_opencv_python3=no \
+ -DBUILD_LIST="calib3d,core,features2d,imgproc,objdetect,photo,video,xfeatures2d,ximgproc,videostab" \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DOPENCV_EXTRA_MODULES_PATH="$(opencv)_contrib/modules/"