Created attachment 215044 [details]
maintainer update for graphics/openimageio
Add PTEX option - on by default.
Previous versions included ptex source files, the project now uses external pre-built libraries instead.
Remove CONFLICTS, fbm port was removed some years ago.
If its possible to pass (ptex) include/lib paths via CMAKE_* or other Makefile (MAKE_*, CONFIGURE_*, etc) variables, this is preferable to a source patch
I do think it should be possible, but I couldn't get it to work, patching the search paths was the only way I could get it to find the include.
The problem falls into it not checking for existing variables, the PTEX_INCLUDE_DIR is always set using find_path(), overriding any passed values.
Also I install ptex headers into include/ptex while using include/wdas seems a more popular choice, that is what causes the existing search paths to fail, as even passing PTEX_LOCATION gets appended to, which ends up as /usr/local/include/wdas
While I could adjust ptex to use a wdas folder, the better option is to make the oiio search more flexible.
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/151149439