I wanted to play around with OpenCV and C++ so I installed it from the repos via `pkg install opencv`. I found out that the package was built without GTK support so all of the examples I tried would fail. After building from ports and trying to install with `pkg add` (after removing the opencv package and it's dependencies with `pkg remove opencv` && `pkg autoremove`) it failed due to missing dependencies. My solution was the following:
- pkg install opencv
- pkg remove opencv
- cd /usr/ports/graphics/opencv
- make package
- pkg add <freshly built package>