[Bug 265804] graphics/opencv: make install fail with non default options

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 14 Aug 2022 15:33:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265804

VVD <vvd@unislabs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #235906|                            |maintainer-approval?
              Flags|                            |

--- Comment #4 from VVD <vvd@unislabs.com> ---
Created attachment 235906
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235906&action=edit
Fixed pkg-plist with PROTOBUF off

After turn off PROTOBUF and make check-plist:
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: bin/opencv_waldboost_detector
Error: Missing: include/opencv4/opencv2/dpm.hpp
Error: Missing: include/opencv4/opencv2/face.hpp
Error: Missing: include/opencv4/opencv2/face/bif.hpp
Error: Missing: include/opencv4/opencv2/face/face_alignment.hpp
Error: Missing: include/opencv4/opencv2/face/facemark.hpp
Error: Missing: include/opencv4/opencv2/face/facemarkAAM.hpp
Error: Missing: include/opencv4/opencv2/face/facemarkLBF.hpp
Error: Missing: include/opencv4/opencv2/face/facemark_train.hpp
Error: Missing: include/opencv4/opencv2/face/facerec.hpp
Error: Missing: include/opencv4/opencv2/face/mace.hpp
Error: Missing: include/opencv4/opencv2/face/predict_collector.hpp
Error: Missing: include/opencv4/opencv2/objdetect.hpp
Error: Missing: include/opencv4/opencv2/objdetect/detection_based_tracker.hpp
Error: Missing: include/opencv4/opencv2/objdetect/face.hpp
Error: Missing: include/opencv4/opencv2/objdetect/objdetect.hpp
Error: Missing: include/opencv4/opencv2/xobjdetect.hpp
Error: Missing: lib/libopencv_dpm.so
Error: Missing: lib/libopencv_dpm.so.%%SHLIB_VER%%
Error: Missing: lib/libopencv_dpm.so.405
Error: Missing: lib/libopencv_face.so
Error: Missing: lib/libopencv_face.so.%%SHLIB_VER%%
Error: Missing: lib/libopencv_face.so.405
Error: Missing: lib/libopencv_objdetect.so
Error: Missing: lib/libopencv_objdetect.so.%%SHLIB_VER%%
Error: Missing: lib/libopencv_objdetect.so.405
Error: Missing: lib/libopencv_xobjdetect.so
Error: Missing: lib/libopencv_xobjdetect.so.%%SHLIB_VER%%
Error: Missing: lib/libopencv_xobjdetect.so.405
===> Error: Plist issues found.
*** Error code 1

Check attached patch.

Also need to test port with default options after apply this patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.