Is there a strong reason why there are 2 ports instead of jsut one with a knob to select the desired ImageMagick version (or better it just uses the default ImageMagick port)?
I need to install ImageMagick-7 AND www/nextcloud on the same host. The nextcloud port depends on graphics/pecl-imagick which depends on ImageMagick-6 (hardcoded).
This is kind of a chicken-egg problem.
Can't we have only graphics/pecl-imagick that just uses the default ImageMagick version, like most other ports using ImageMagick do?
I do not think it is possible with current FreeBSd ports and packages. Dependencies are hardcoded in the package meta data created at the build time.
It is the same reason why nextcloud has hardcode dependency on pecl-magick even if pecl-imagick-im7 will work too but nextcloud cannot know it.
If current default ImageMagick version is 7 then I think nextcloud should depends on pecl-imagick-im7.