Created attachment 223949 [details]
Recursive diff for the version update
This patch would allow an update to version 1.9.0, and allows the port to build built even when OpenCL is installed.
On FreeBSD 12.2, version 1.9.0 builds with OpenCL support if enabled, but lacking the necessary hardware I could not fully test it.
On FreeBSD 13.0-CURRENT, there were build errors with OpenCL support enabled. Without OpenCL it was fine.
This should also solve bug report number #247229.
Created attachment 223950 [details]
This is the non-recursive diff. Basically the same as recursive, but the files/ directory is no longer necessary so this one is easier to read.
Created attachment 224054 [details]
Latest version with opencl, openmp, openmpi options
Hi, played around a bit more with this during the weekend and got version 1.9 working with OpenCL, OpenMP and OpenMPI, with the latest changes from github, so added them as options. Hope this can be useful.
Portlint is complaining that the first line should have $FreeBSD$ as it is a comment, not sure how to handle this?
(In reply to Thierry Dussuet from comment #2)
> Portlint is complaining that the first line should have $FreeBSD$ as it is
> a comment, not sure how to handle this?
Just ignore this, it doesn't matter.